class StringContent

in global :: System . Net . Http

Provides HTTP content based on a string.


public StringContent( string content )

Creates a new instance of the class.

  • content The content used to initialize the .

public StringContent( string content, Encoding encoding )

Creates a new instance of the class.

  • content The content used to initialize the .
  • encoding The encoding to use for the content.

public StringContent( string content, Encoding encoding, string mediaType )

Creates a new instance of the class.

  • content The content used to initialize the .
  • encoding The encoding to use for the content.
  • mediaType The media type to use for the content.

public StringContent( string content, Encoding encoding, MediaTypeHeaderValue mediaType )

😔 No documentation found.

public StringContent( string content, MediaTypeHeaderValue mediaType )

😔 No documentation found.

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, CancellationToken cancellationToken )

😔 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, TransportContext context )

😔 No documentation found.

public HttpContentHeaders Headers { get; }

😔 No documentation found.