Unosquare
    Show / Hide Table of Contents

    Interface IHttpRequest

    Interface to create a HTTP Request.

    Inherited Members
    IHttpMessage.Cookies
    IHttpMessage.ProtocolVersion
    Namespace: EmbedIO
    Syntax
    public interface IHttpRequest : IHttpMessage

    Properties

    ContentEncoding

    Gets the content encoding.

    Declaration
    Encoding ContentEncoding { get; }
    Property Value
    Type Description
    Encoding

    ContentLength64

    Gets the content length.

    Declaration
    long ContentLength64 { get; }
    Property Value
    Type Description
    Int64

    ContentType

    Gets the type of the content.

    Declaration
    string ContentType { get; }
    Property Value
    Type Description
    String

    HasEntityBody

    Gets a value indicating whether this instance has entity body.

    Declaration
    bool HasEntityBody { get; }
    Property Value
    Type Description
    Boolean

    Headers

    Gets the request headers.

    Declaration
    NameValueCollection Headers { get; }
    Property Value
    Type Description
    NameValueCollection

    HttpMethod

    Gets the HTTP method.

    Declaration
    string HttpMethod { get; }
    Property Value
    Type Description
    String

    HttpVerb

    Gets a HttpVerb constant representing the HTTP method of the request.

    Declaration
    HttpVerb HttpVerb { get; }
    Property Value
    Type Description
    HttpVerb

    InputStream

    Gets the input stream.

    Declaration
    Stream InputStream { get; }
    Property Value
    Type Description
    Stream

    IsAuthenticated

    Gets a value indicating whether this instance is authenticated.

    Declaration
    bool IsAuthenticated { get; }
    Property Value
    Type Description
    Boolean

    IsLocal

    Gets a value indicating whether this instance is local.

    Declaration
    bool IsLocal { get; }
    Property Value
    Type Description
    Boolean

    IsSecureConnection

    Gets a value indicating whether this request has been received over a SSL connection.

    Declaration
    bool IsSecureConnection { get; }
    Property Value
    Type Description
    Boolean

    IsWebSocketRequest

    Gets a value indicating whether this instance is web socket request.

    Declaration
    bool IsWebSocketRequest { get; }
    Property Value
    Type Description
    Boolean

    KeepAlive

    Gets a value indicating whether [keep alive].

    Declaration
    bool KeepAlive { get; }
    Property Value
    Type Description
    Boolean

    LocalEndPoint

    Gets the local end point.

    Declaration
    IPEndPoint LocalEndPoint { get; }
    Property Value
    Type Description
    IPEndPoint

    QueryString

    Gets the query string.

    Declaration
    NameValueCollection QueryString { get; }
    Property Value
    Type Description
    NameValueCollection

    RawUrl

    Gets the raw URL.

    Declaration
    string RawUrl { get; }
    Property Value
    Type Description
    String

    RemoteEndPoint

    Gets the remote end point.

    Declaration
    IPEndPoint RemoteEndPoint { get; }
    Property Value
    Type Description
    IPEndPoint

    Url

    Gets the requested URL.

    Declaration
    Uri Url { get; }
    Property Value
    Type Description
    Uri

    UrlReferrer

    Gets the URL referrer.

    Declaration
    Uri? UrlReferrer { get; }
    Property Value
    Type Description
    Nullable<Uri>

    UserAgent

    Gets the user agent.

    Declaration
    string UserAgent { get; }
    Property Value
    Type Description
    String

    Comments

    Back to top Copyright © 2017-2019 Unosquare