C# Class NodeNetAsync.Net.Http.HttpResponse

Inheritance: IAsyncWriter
Afficher le fichier Open project: soywiz/NodeNetAsync Class Usage Examples

Méthodes publiques

Свойство Type Description
Buffering bool
Encoding System.Text.Encoding
Headers HttpHeaders
IsWebSocket bool
Socket NodeNetAsync.Net.TcpSocket
WebSocketVersion int

Méthodes publiques

Méthode Description
CopyFromStreamASync ( Stream SourceStream ) : System.Threading.Tasks.Task

EndAsync ( ) : System.Threading.Tasks.Task

HttpResponse ( TcpSocket Client ) : System

Redirect ( string Url, HttpCode HttpCode ) : void

SendHeadersAsync ( ) : System.Threading.Tasks.Task

SetHttpCode ( HttpCode Code, string CodeString = null ) : void

StreamFileASync ( string FileName ) : System.Threading.Tasks.Task

WriteAsync ( byte Data, int Offset, int Count = -1 ) : System.Threading.Tasks.Task

WriteAsync ( string Text ) : System.Threading.Tasks.Task

Method Details

CopyFromStreamASync() public méthode

public CopyFromStreamASync ( Stream SourceStream ) : System.Threading.Tasks.Task
SourceStream Stream
Résultat System.Threading.Tasks.Task

EndAsync() public méthode

public EndAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

HttpResponse() public méthode

public HttpResponse ( TcpSocket Client ) : System
Client NodeNetAsync.Net.TcpSocket
Résultat System

Redirect() public méthode

public Redirect ( string Url, HttpCode HttpCode ) : void
Url string
HttpCode HttpCode
Résultat void

SendHeadersAsync() public méthode

public SendHeadersAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

SetHttpCode() public méthode

public SetHttpCode ( HttpCode Code, string CodeString = null ) : void
Code HttpCode
CodeString string
Résultat void

StreamFileASync() public méthode

public StreamFileASync ( string FileName ) : System.Threading.Tasks.Task
FileName string
Résultat System.Threading.Tasks.Task

WriteAsync() public méthode

public WriteAsync ( byte Data, int Offset, int Count = -1 ) : System.Threading.Tasks.Task
Data byte
Offset int
Count int
Résultat System.Threading.Tasks.Task

WriteAsync() public méthode

public WriteAsync ( string Text ) : System.Threading.Tasks.Task
Text string
Résultat System.Threading.Tasks.Task

Property Details

Buffering public_oe property

public bool Buffering
Résultat bool

Encoding public_oe property

public Encoding,System.Text Encoding
Résultat System.Text.Encoding

Headers public_oe property

Headers that will be sent as the Response.
public HttpHeaders Headers
Résultat HttpHeaders

IsWebSocket public_oe property

public bool IsWebSocket
Résultat bool

Socket public_oe property

public TcpSocket,NodeNetAsync.Net Socket
Résultat NodeNetAsync.Net.TcpSocket

WebSocketVersion public_oe property

public int WebSocketVersion
Résultat int