コード例 #1
0
 public ClientHelloAlpnAdderStream(CustomBufferedStream stream, IBufferPool bufferPool)
 {
     this.stream = stream;
 }
コード例 #2
0
 public ValueTask <string?> ReadLineAsync(CancellationToken cancellationToken = default)
 {
     return(CustomBufferedStream.ReadLineInternalAsync(this, bufferPool, cancellationToken));
 }
コード例 #3
0
 /// <summary>
 /// Read a line from the byte stream
 /// </summary>
 /// <param name="cancellationToken"></param>
 /// <returns></returns>
 Task <string> ICustomStreamReader.ReadLineAsync(CancellationToken cancellationToken)
 {
     return(CustomBufferedStream.ReadLineInternalAsync(this, bufferPool, cancellationToken));
 }
コード例 #4
0
 public ServerHelloAlpnAdderStream(CustomBufferedStream stream, IBufferPool bufferPool)
 {
     this.bufferPool = bufferPool;
     this.stream     = stream;
 }