C# Class Kazuki.Net.HttpServer.Embed.HttpConnection

Show file Open project: kazuki/httpserver

Public Properties

Property Type Description
ReceiveBuffer int

Public Methods

Method Description
Close ( ) : void
HttpConnection ( Socket sock ) : System
ReceiveByte ( ) : int
ReceiveBytes ( byte buffer, int offset, int size ) : int
Send ( byte raw ) : void
Send ( byte raw, int offset, int size ) : void

Private Methods

Method Description
FillReceiveBuffer ( ) : bool

Method Details

Close() public method

public Close ( ) : void
return void

HttpConnection() public method

public HttpConnection ( Socket sock ) : System
sock Socket
return System

ReceiveByte() public method

public ReceiveByte ( ) : int
return int

ReceiveBytes() public method

public ReceiveBytes ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
return int

Send() public method

public Send ( byte raw ) : void
raw byte
return void

Send() public method

public Send ( byte raw, int offset, int size ) : void
raw byte
offset int
size int
return void

Property Details

ReceiveBuffer public static property

public static int ReceiveBuffer
return int