private ProcessReceivedBlob ( byte buffer, int count, AsyncProtocolRequest asyncRequest ) : void | ||
buffer | byte | |
count | int | |
asyncRequest | AsyncProtocolRequest | |
return | void |
private static void ReadFrameCallback(AsyncProtocolRequest asyncRequest) { SslState asyncObject = (SslState)asyncRequest.AsyncObject; try { if (asyncRequest.Result == 0) { asyncRequest.Offset = 0; } asyncObject.ProcessReceivedBlob(asyncRequest.Buffer, asyncRequest.Offset + asyncRequest.Result, asyncRequest); } catch (Exception exception) { if (asyncRequest.IsUserCompleted) { throw; } asyncObject.FinishHandshake(exception, asyncRequest); } }