Crestron.SimplSharp.Net.Http
Classes
Class | Description | |
---|---|---|
![]() | HttpClient |
The HttpClient class represents a client connection to an HTTP Server.
HttpClient will automatically follow redirects.
Automatic redirects are configurable via the AllowAutoRedirect property.
To specify the maximum number of redirects, change the MaximumAutomaticRedirections property to the desired value.
|
![]() | HttpClientRequest |
The HttpClientRequest class represents an HTTP request sent from the client to the server.
|
![]() | HttpClientResponse |
The HttpClientResponse class represents an HTTP response received by the client from the server.
|
![]() | HttpException |
An Exception object that contains errors returned from an HTTP call when the server returned any error >=400.
|
![]() | HttpHeader |
HttpHeader holds Name and Value pairs for Request and Response Header fields.
|
![]() | HttpHeaderException |
An Exception object that contains errors returned from one of the HttpHeader or HttpHeaders methods call.
|
![]() | HttpHeaders |
HttpHeaders contains an array of HttpHeader objects.
|
![]() | HttpIncomingRequestResponse |
Base class representing an incoming HTTP message - either a request to be received by the HttpServer, or a response received by the HttpClient.
|
![]() | HttpOutgoingRequestResponse |
The Abstract Base Class represents an outgoing HTTP message - either a request to be sent from the HttpClient, or a response to be sent from the HttpServer.
|
![]() | HttpRequestInvalidException |
HttpRequestInvalidException class
|
![]() | HttpRequestResponse |
Abstract base class representing an HTTP message.
|
![]() | HttpServer |
HTTP Server
|
![]() | HttpServerRequest |
HTTP Server Request Class.
|
![]() | HttpServerResponse |
The HttpServerResponse class is used to create a server response that is sent back to the client by the HttpServer.
|
![]() | KnownProtocols |
The KnownProtocols class represents some common protocols (ftp, ssh, telnet, smtp, http, pop3, https) and their default ports which are used by the UrlParser.
If you want UrlParser to make out any other protocol, you can register this protocol by using RegisterProtocol method.
|
![]() | OnHttpRequestArgs |
OnHttpRequestArgs class
|
![]() | QueryString |
QueryString represents a collection of key/value pairs which is used to store parameters from the HTTP path (the tail from symbol "?" to the end).
|
![]() | UrlParser |
The UrlParser class represents a URL string and its separate components. It can be assigned a full string to the UrlParser via the Url property,
or it can be accessed through separate parts of the URL via the individual properties.
|
![]() | UrlParserException |
An Exception object that contains errors returned from an UrlParser call.
|
Delegates
Delegate | Description | |
---|---|---|
![]() | HTTPClientBytesCallback |
Crestron ClientBytes Callback
|
![]() | HTTPClientBytesCallbackEx |
Crestron ClientBytes Callback
|
![]() | HTTPClientResponseCallback |
Crestron ClientResponse Callback
|
![]() | HTTPClientResponseCallbackEx |
Crestron ClientResponse Callback
|
![]() | HTTPClientStringCallback |
Crestron ClientString Callback
|
![]() | HTTPClientStringCallbackEx |
Crestron ClientString Callback with an additional user object
|
![]() | HTTPStreamRequestCallbackEx |
Crestron StreamRequestCallback
|
![]() | HTTPStreamResponseCallbackEx |
Crestron StreamResponseCallback delegate
|
![]() | OnHttpRequestHandler |
OnHttpRequestHandler Delegate
|
Enumerations
Enumeration | Description | |
---|---|---|
![]() | ContentSource |
Defines which type of the HTTP body will be used - array of bytes or string.
|
![]() | HTTP_CALLBACK_ERROR |
ERROR definitions returned from an asynchronous callback operation
|
![]() | HttpClient..::..DISPATCHASYNC_ERROR |
ERROR definitions for launching Async operations
|
![]() | RequestType |
This enumeration defines the common values for the HTTP methods used to make a request.
|
![]() | UrlHostNameType |
Defines host name types for the System.Url.CheckHostName(System.String) method.
|