IHttpTransport Interface |
Namespace: Crosser.Common.Server.Transport
public interface IHttpTransport : IBaseTransport, IDisposable
The IHttpTransport type exposes the following members.
Name | Description | |
---|---|---|
Endpoint |
The IBaseEndpoint that the client connected to
(Inherited from IBaseTransport.) |
Name | Description | |
---|---|---|
CreateStreamsT(Stream) |
Setup the underlying streams for the transport
(Inherited from IBaseTransport.) | |
CreateStreamsT(Socket) |
Setup the underlying streams for the transport
(Inherited from IBaseTransport.) | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
Flush |
Make sure that data is sent
(Inherited from IBaseTransport.) | |
ReadAsync(Byte, Int32) |
Read data from the transport into the buffer
(Inherited from IBaseTransport.) | |
ReadAsync(Byte, Int32, Int32) |
Read data from the transport into the buffer
(Inherited from IBaseTransport.) | |
ReadOp |
Reads the next byte from the underlying transport
(Inherited from IBaseTransport.) | |
RemoteAddress |
If your transport supports remote address you can overwrite this to return teh correct IP etc.
(Inherited from IBaseTransport.) | |
WriteAsync(Byte, Boolean) |
Write bytes to the underlying transport
(Inherited from IBaseTransport.) | |
WriteAsync(Byte, Int32, Int32, Boolean) |
Write bytes to the underlying transport
(Inherited from IBaseTransport.) |