RestClient.AddDefaultParameter

Overview

Adds a default parameter for all requests on from this client.

RestClient myRestClient.AddDefaultParameter(name: string, value: string, type: ( "Cookie" | "GetOrPost" | "UrlSegment" | "HttpHeader" | "RequestBody" | "QueryString" | "QueryStringWithoutEncode" ))

Arguments

string name

of parameter

string value

of parameter

( "Cookie" | "GetOrPost" | "UrlSegment" | "HttpHeader" | "RequestBody" | "QueryString" | "QueryStringWithoutEncode" ) type

of parameter.

Copyright © 2010 - 2023 Emakin. All rights reserved.