示例#1
0
 public BinaryRequestContext(Stream requestStream, Stream responseStream)
 {
     _requestStream = requestStream;
     _responseStream = responseStream;
     Request = new Binary.HmBinaryMessageReader(requestStream);
     Response = new Binary.HmBinaryMessageWriter(responseStream);
 }
示例#2
0
 public BinaryRequestContext(Stream requestStream, Stream responseStream)
 {
     _requestStream  = requestStream;
     _responseStream = responseStream;
     Request         = new Binary.HmBinaryMessageReader(requestStream);
     Response        = new Binary.HmBinaryMessageWriter(responseStream);
 }