C# Class RestSharp.RestRequest

Container for data used to make requests
Inheritance: IRestRequest
Show file Open project: restsharp/RestSharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddObject ( object obj ) : void
AddParameter ( Parameter p ) : RestRequest
AddParameter ( string name, object value ) : RestRequest
AddParameter ( string name, object value, ParameterType type ) : RestRequest
GetUri ( ) : Uri
RestRequest ( ) : System
RestRequest ( Method verb ) : System
RestRequest ( string action ) : System
RestRequest ( string action, Method verb ) : System

Method Details

AddObject() public method

public AddObject ( object obj ) : void
obj object
return void

AddParameter() public method

public AddParameter ( Parameter p ) : RestRequest
p Parameter
return RestRequest

AddParameter() public method

public AddParameter ( string name, object value ) : RestRequest
name string
value object
return RestRequest

AddParameter() public method

public AddParameter ( string name, object value, ParameterType type ) : RestRequest
name string
value object
type ParameterType
return RestRequest

GetUri() public method

public GetUri ( ) : Uri
return System.Uri

RestRequest() public method

public RestRequest ( ) : System
return System

RestRequest() public method

public RestRequest ( Method verb ) : System
verb Method
return System

RestRequest() public method

public RestRequest ( string action ) : System
action string
return System

RestRequest() public method

public RestRequest ( string action, Method verb ) : System
action string
verb Method
return System