C# Class P2PStateServer.HTTPPartialData

Represents a structure where partial HTTP data can accumulate as it is transmitted until transmission is complete.
The HTTPPartialData class holds HTTP data as it is transmitted. It verifies the transmitted data is valid HTTP and provides properties to signal the message was completely received or to signal an error.
Afficher le fichier Open project: tenor/p2pStateServer Class Usage Examples

Méthodes publiques

Méthode Description
Append ( byte Data ) : void

Reads passed in data and fills the partial data object with the read data

HTTPPartialData ( ServiceSocket HandlerSocket ) : System

Initializes a new instance of the HTTPPartialData class

Method Details

Append() public méthode

Reads passed in data and fills the partial data object with the read data
public Append ( byte Data ) : void
Data byte Data to read, in bytes
Résultat void

HTTPPartialData() public méthode

Initializes a new instance of the HTTPPartialData class
public HTTPPartialData ( ServiceSocket HandlerSocket ) : System
HandlerSocket ServiceSocket The associated socket
Résultat System