Method HandleRequest
HandleRequest(IAsyncResult)
Asynchronous callback to handle a client connection request on MyHttpListener. This method is recursive in that it will call itself immediately after receiving a new incoming request to listen for the next connection.
선언
protected virtual void HandleRequest(IAsyncResult ar)
파라미터
타입 | 이름 | 설명 |
---|---|---|
IAsyncResult | ar | Asynchronous result from previous request. Pass null to listen for an initial request |
예외
타입 | 조건 |
---|---|
ArgumentOutOfRangeException | thrown when the request result code is unknown |