Crestron.SimplSharp.Net.Http

Classes

  ClassDescription
Public classHttpClient
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.
Public classHttpClientRequest
The HttpClientRequest class represents an HTTP request sent from the client to the server.
Public classHttpClientResponse
The HttpClientResponse class represents an HTTP response received by the client from the server.
Public classHttpException
An Exception object that contains errors returned from an HTTP call when the server returned any error >=400.
Public classHttpHeader
HttpHeader holds Name and Value pairs for Request and Response Header fields.
Public classHttpHeaderException
An Exception object that contains errors returned from one of the HttpHeader or HttpHeaders methods call.
Public classHttpHeaders
HttpHeaders contains an array of HttpHeader objects.
Public classHttpIncomingRequestResponse
Base class representing an incoming HTTP message - either a request to be received by the HttpServer, or a response received by the HttpClient.
Public classHttpOutgoingRequestResponse
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.
Public classHttpRequestInvalidException
HttpRequestInvalidException class
Public classHttpRequestResponse
Abstract base class representing an HTTP message.
Public classHttpServer
HTTP Server
Public classHttpServerRequest
HTTP Server Request Class.
Public classHttpServerResponse
The HttpServerResponse class is used to create a server response that is sent back to the client by the HttpServer.
Public classKnownProtocols
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.
Public classOnHttpRequestArgs
OnHttpRequestArgs class
Public classQueryString
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).
Public classUrlParser
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.
Public classUrlParserException
An Exception object that contains errors returned from an UrlParser call.

Delegates

  DelegateDescription
Public delegateHTTPClientBytesCallback
Crestron ClientBytes Callback
Public delegateHTTPClientBytesCallbackEx
Crestron ClientBytes Callback
Public delegateHTTPClientResponseCallback
Crestron ClientResponse Callback
Public delegateHTTPClientResponseCallbackEx
Crestron ClientResponse Callback
Public delegateHTTPClientStringCallback
Crestron ClientString Callback
Public delegateHTTPClientStringCallbackEx
Crestron ClientString Callback with an additional user object
Public delegateHTTPStreamRequestCallbackEx
Crestron StreamRequestCallback
Public delegateHTTPStreamResponseCallbackEx
Crestron StreamResponseCallback delegate
Public delegateOnHttpRequestHandler
OnHttpRequestHandler Delegate

Enumerations

  EnumerationDescription
Public enumerationContentSource
Defines which type of the HTTP body will be used - array of bytes or string.
Public enumerationHTTP_CALLBACK_ERROR
ERROR definitions returned from an asynchronous callback operation
Public enumerationHttpClient..::..DISPATCHASYNC_ERROR
ERROR definitions for launching Async operations
Public enumerationRequestType
This enumeration defines the common values for the HTTP methods used to make a request.
Public enumerationUrlHostNameType
Defines host name types for the System.Url.CheckHostName(System.String) method.