Search Results for

    Show / Hide Table of Contents

    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).

    Inheritance
    object
    RequestOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: mailslurp.Client
    Assembly: mailslurp.dll
    Syntax
    public class RequestOptions

    Constructors

    View Source

    RequestOptions()

    Constructs a new instance of RequestOptions

    Declaration
    public RequestOptions()

    Properties

    View Source

    Cookies

    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>
    View Source

    Data

    Any data associated with a request body.

    Declaration
    public object Data { get; set; }
    Property Value
    Type Description
    object
    View Source

    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>
    View Source

    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>
    View Source

    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>
    View Source

    Operation

    Operation associated with the request path.

    Declaration
    public string Operation { get; set; }
    Property Value
    Type Description
    string
    View Source

    OperationIndex

    Index associated with the operation.

    Declaration
    public int OperationIndex { get; set; }
    Property Value
    Type Description
    int
    View Source

    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>
    View Source

    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>
    • View Source
    In This Article
    Back to top See MailSlurp website for more information.