class StreamContent
in global :: System . Net . Http
Provides HTTP content based on a stream.
public StreamContent( Stream content )
Creates a new instance of the class.
contentThe content used to initialize the .
public StreamContent( Stream content, int bufferSize )
Creates a new instance of the class.
contentThe content used to initialize the .bufferSizeThe size, in bytes, of the buffer for the .
public int GetHashCode( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public void Dispose( )
😔 No documentation found.
public Task LoadIntoBufferAsync( long maxBufferSize, CancellationToken cancellationToken )
😔 No documentation found.
public Task LoadIntoBufferAsync( CancellationToken cancellationToken )
😔 No documentation found.
public Task LoadIntoBufferAsync( long maxBufferSize )
😔 No documentation found.
public Task LoadIntoBufferAsync( )
😔 No documentation found.
public Task CopyToAsync( Stream stream, TransportContext context, CancellationToken cancellationToken )
😔 No documentation found.
public Task CopyToAsync( Stream stream, TransportContext context )
😔 No documentation found.
public Task CopyToAsync( Stream stream )
😔 No documentation found.
public void CopyTo( Stream stream, TransportContext context, CancellationToken cancellationToken )
😔 No documentation found.
public Task<Stream> ReadAsStreamAsync( CancellationToken cancellationToken )
😔 No documentation found.
public Task<Stream> ReadAsStreamAsync( )
😔 No documentation found.
public Stream ReadAsStream( CancellationToken cancellationToken )
😔 No documentation found.
public Stream ReadAsStream( )
😔 No documentation found.
public Task<byte[]> ReadAsByteArrayAsync( CancellationToken cancellationToken )
😔 No documentation found.
public Task<byte[]> ReadAsByteArrayAsync( )
😔 No documentation found.
public Task<string> ReadAsStringAsync( CancellationToken cancellationToken )
😔 No documentation found.
public Task<string> ReadAsStringAsync( )
😔 No documentation found.
public Task CopyToAsync( Stream stream, CancellationToken cancellationToken )
😔 No documentation found.
public HttpContentHeaders Headers { get; }
😔 No documentation found.