Class RequestOptions
A container for generalized request inputs. This type allows consumers to extend the request functionality by abstracting away from the default (built-in) request framework (e.g. RestSharp).
Inherited Members
object.Equals(object, object)
object.MemberwiseClone()
object.ToString()
Namespace: mailslurp.Client
Assembly: mailslurp.dll
Syntax
public class RequestOptions
Constructors
View SourceRequestOptions()
Constructs a new instance of RequestOptions
Declaration
public RequestOptions()
Properties
View SourceCookies
Cookies to be sent along with the request.
Declaration
public List<Cookie> Cookies { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><Cookie> |
Data
Any data associated with a request body.
Declaration
public object Data { get; set; }
Property Value
Type | Description |
---|---|
object |
FileParameters
File parameters to be sent along with the request.
Declaration
public Multimap<string, Stream> FileParameters { get; set; }
Property Value
Type | Description |
---|---|
Multimap<string, Stream> |
FormParameters
Form parameters to be sent along with the request.
Declaration
public Dictionary<string, string> FormParameters { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
HeaderParameters
Header parameters to be applied to to the request. Keys may have 1 or more values associated.
Declaration
public Multimap<string, string> HeaderParameters { get; set; }
Property Value
Type | Description |
---|---|
Multimap<string, string> |
Operation
Operation associated with the request path.
Declaration
public string Operation { get; set; }
Property Value
Type | Description |
---|---|
string |
OperationIndex
Index associated with the operation.
Declaration
public int OperationIndex { get; set; }
Property Value
Type | Description |
---|---|
int |
PathParameters
Parameters to be bound to path parts of the Request's URL
Declaration
public Dictionary<string, string> PathParameters { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
QueryParameters
Query parameters to be applied to the request. Keys may have 1 or more values associated.
Declaration
public Multimap<string, string> QueryParameters { get; set; }
Property Value
Type | Description |
---|---|
Multimap<string, string> |