public ClientHelloAlpnAdderStream(CustomBufferedStream stream, IBufferPool bufferPool) { this.stream = stream; }
public ValueTask <string?> ReadLineAsync(CancellationToken cancellationToken = default) { return(CustomBufferedStream.ReadLineInternalAsync(this, bufferPool, cancellationToken)); }
/// <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)); }
public ServerHelloAlpnAdderStream(CustomBufferedStream stream, IBufferPool bufferPool) { this.bufferPool = bufferPool; this.stream = stream; }