C# Class WebRTC_Sample.SimpleRendezvousServer

Very simple HTTP/WebRTC rendez-vous server. It grabs a random local port and acts like a very basic HTTP server. It serves the WebRTC sample web page and handles offer/answer requests.
Mostra file Open project: PearLtd/iWebRTC Class Usage Examples

Public Properties

Property Type Description
OnGet GetHandler
OnPost PostHandler

Public Methods

Method Description
SimpleRendezvousServer ( ) : System

Private Methods

Method Description
GetContentLength ( byte buffer, int offset, int count ) : int
OnAccept ( IAsyncResult result ) : void
OnRead ( Task t, object j ) : void
ProcessGet ( IPEndPoint from, string value ) : Task
ProcessPost ( string value, string body ) : Task

Method Details

SimpleRendezvousServer() public method

public SimpleRendezvousServer ( ) : System
return System

Property Details

OnGet public_oe property

public GetHandler OnGet
return GetHandler

OnPost public_oe property

public PostHandler OnPost
return PostHandler