C# 클래스 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.
파일 보기 프로젝트 열기: tenor/p2pStateServer 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Append() 공개 메소드

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
리턴 void

HTTPPartialData() 공개 메소드

Initializes a new instance of the HTTPPartialData class
public HTTPPartialData ( ServiceSocket HandlerSocket ) : System
HandlerSocket ServiceSocket The associated socket
리턴 System