Struct WebClient.RequestParams
Provides request parameters for making WebClient calls
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: NFX.Web.dll
Syntax
public struct RequestParams
Constructors
RequestParams(IWebClientCaller)
Declaration
public RequestParams(IWebClientCaller caller)
Parameters
Fields
AcceptType
Declaration
Field Value
Type |
Description |
System.String |
|
Body
Declaration
Field Value
Type |
Description |
System.String |
|
BodyParameters
Declaration
public IDictionary<string, string> BodyParameters
Field Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.String> |
|
Caller
Declaration
public readonly IWebClientCaller Caller
Field Value
ContentType
Declaration
public string ContentType
Field Value
Type |
Description |
System.String |
|
Declaration
public IDictionary<string, string> Headers
Field Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.String> |
|
Method
Declaration
public HTTPRequestMethod Method
Field Value
Password
Declaration
Field Value
Type |
Description |
System.String |
|
QueryParameters
Declaration
public IDictionary<string, string> QueryParameters
Field Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.String> |
|
UserName
Declaration
Field Value
Type |
Description |
System.String |
|
Properties
HasBody
Declaration
public bool HasBody { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasCredentials
Declaration
public bool HasCredentials { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
GetBody()
Declaration
Returns
Type |
Description |
System.String |
|
GetCredentials()
Declaration
public ICredentials GetCredentials()
Returns
Type |
Description |
System.Net.ICredentials |
|
Declaration
public WebHeaderCollection GetHeaders()
Returns
Type |
Description |
System.Net.WebHeaderCollection |
|
GetQueryString()
Declaration
public NameValueCollection GetQueryString()
Returns
Type |
Description |
System.Collections.Specialized.NameValueCollection |
|
Extension Methods