| HttpTransport Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Crosser.Server.Modules.Transport
 Syntax
Syntaxpublic class HttpTransport : SocketTransport, IHttpTransport, IBaseTransport, IDisposable
The HttpTransport type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | HttpTransport | Initializes a new instance of the HttpTransport class | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | ClientCertificate | 
            The client certificate (if any)
            (Inherited from BaseTransport.) | 
|  | Endpoint | 
            Reference to the IBaseEndpoint connected to
            (Inherited from BaseTransport.) | 
|  | Server | 
            Reference to the IServer(Inherited from BaseTransport.) | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | CreateStreamsT(Stream) | 
            Overwrite this when you create custom Transports for streamed communication
            (Inherited from BaseTransport.) | 
|  | CreateStreamsT(Socket) | 
            Setup read/write streams and set the IProtocol(Inherited from SocketTransport.) | 
|  | Dispose | 
            Clean up resources
            (Inherited from SocketTransport.) | 
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | Flush | 
            Flush the underlying stream
            (Inherited from SocketTransport.) | 
|  | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | ReadAsync(Byte, Int32) | 
            Reads data from the underlying stream
            (Inherited from SocketTransport.) | 
|  | ReadAsync(Byte, Int32, Int32) | 
            Reads data from the underlying stream
            (Inherited from SocketTransport.) | 
|  | ReadOp | 
            Reads the next byte from the underlying stream
            (Inherited from SocketTransport.) | 
|  | RemoteAddress | 
            Returns the IP-address of the client as a string
            (Inherited from SocketTransport.) | 
|  | ToString | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WriteAsync(Byte, Boolean) | 
            Write data to the underlying stream
            (Inherited from SocketTransport.) | 
|  | WriteAsync(Byte, Int32, Int32, Boolean) | 
            Write data to the underlying stream
            (Inherited from SocketTransport.) | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | CancellationTokenSource | 
            CancellationToken used when readin/writing to streams
            (Inherited from BaseTransport.) | 
|  | disposed | 
            Flag for knowing if the transport is disposed
            (Inherited from BaseTransport.) | 
|  | locker | 
            Object for locking operations on the Transport
            (Inherited from BaseTransport.) | 
|  | Protocol | 
            Reference to the IProtocol using the Transport
            (Inherited from BaseTransport.) | 
|  | ReadStream | 
            Read stream
            (Inherited from SocketTransport.) | 
|  | WriteStream | 
            Write stream
            (Inherited from SocketTransport.) | 
 See Also
See Also