C# Class Jishi.StreamToSonos.Services.HttpServer

Inheritance: IDisposable
ファイルを表示 Open project: jishi/Jishi.StreamToSonos Class Usage Examples

Private Properties

Property Type Description
Cleanup void
HandleConnection void
ParseHeaders System.Collections.Specialized.NameValueCollection
SampleAvailable void
SendHeaders void
SendSilent void
SendWaveHeader void
WriteChunkedToStream void

Public Methods

Method Description
Dispose ( ) : void
HttpServer ( ) : System
StartListening ( ) : void

Private Methods

Method Description
Cleanup ( ) : void
HandleConnection ( IAsyncResult ar ) : void
ParseHeaders ( TcpClient client ) : NameValueCollection
SampleAvailable ( byte buffer ) : void
SendHeaders ( NameValueCollection responseHeaders, NetworkStream stream ) : void
SendSilent ( Stream stream, int bufferSize ) : void
SendWaveHeader ( Stream outputStream ) : void
WriteChunkedToStream ( Stream outputStream, byte chunk ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HttpServer() public method

public HttpServer ( ) : System
return System

StartListening() public method

public StartListening ( ) : void
return void