ReadOnlyMemoryContent
ReadOnlyMemoryContent
ReadOnlyMemoryContent
ReadOnlyMemoryContent
Class
Definition
public ref class ReadOnlyMemoryContent sealed : System::Net::Http::HttpContent
public sealed class ReadOnlyMemoryContent : System.Net.Http.HttpContent
type ReadOnlyMemoryContent = class
inherit HttpContent
Public NotInheritable Class ReadOnlyMemoryContent
Inherits HttpContent
- Inheritance
-
ReadOnlyMemoryContentReadOnlyMemoryContentReadOnlyMemoryContentReadOnlyMemoryContent
Constructors
ReadOnlyMemoryContent(ReadOnlyMemory<Byte>) ReadOnlyMemoryContent(ReadOnlyMemory<Byte>) ReadOnlyMemoryContent(ReadOnlyMemory<Byte>) ReadOnlyMemoryContent(ReadOnlyMemory<Byte>) |
Methods
CopyToAsync(Stream) CopyToAsync(Stream) CopyToAsync(Stream) CopyToAsync(Stream) |
Serialize the HTTP content into a stream of bytes and copies it to the stream object provided as the |
CopyToAsync(Stream, TransportContext) CopyToAsync(Stream, TransportContext) CopyToAsync(Stream, TransportContext) CopyToAsync(Stream, TransportContext) |
Serialize the HTTP content into a stream of bytes and copies it to the stream object provided as the |
CreateContentReadStreamAsync() CreateContentReadStreamAsync() CreateContentReadStreamAsync() CreateContentReadStreamAsync() |
Serialize the HTTP content to a memory stream as an asynchronous operation. (Inherited from HttpContent) |
Dispose() Dispose() Dispose() Dispose() |
Releases the unmanaged resources and disposes of the managed resources used by the HttpContent. (Inherited from HttpContent) |
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) |
Releases the unmanaged resources used by the HttpContent and optionally disposes of the managed resources. (Inherited from HttpContent) |
Equals(Object) Equals(Object) Equals(Object) Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() GetHashCode() GetHashCode() GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() GetType() GetType() GetType() |
Gets the Type of the current instance. (Inherited from Object) |
LoadIntoBufferAsync() LoadIntoBufferAsync() LoadIntoBufferAsync() LoadIntoBufferAsync() |
Serialize the HTTP content to a memory buffer as an asynchronous operation. (Inherited from HttpContent) |
LoadIntoBufferAsync(Int64) LoadIntoBufferAsync(Int64) LoadIntoBufferAsync(Int64) LoadIntoBufferAsync(Int64) |
Serialize the HTTP content to a memory buffer as an asynchronous operation. (Inherited from HttpContent) |
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ReadAsByteArrayAsync() ReadAsByteArrayAsync() ReadAsByteArrayAsync() ReadAsByteArrayAsync() |
Serialize the HTTP content to a byte array as an asynchronous operation. (Inherited from HttpContent) |
ReadAsStreamAsync() ReadAsStreamAsync() ReadAsStreamAsync() ReadAsStreamAsync() |
Serialize the HTTP content and return a stream that represents the content as an asynchronous operation. (Inherited from HttpContent) |
ReadAsStringAsync() ReadAsStringAsync() ReadAsStringAsync() ReadAsStringAsync() |
Serialize the HTTP content to a string as an asynchronous operation. (Inherited from HttpContent) |
SerializeToStreamAsync(Stream, TransportContext) SerializeToStreamAsync(Stream, TransportContext) SerializeToStreamAsync(Stream, TransportContext) SerializeToStreamAsync(Stream, TransportContext) |
Serialize the HTTP content to a stream as an asynchronous operation. (Inherited from HttpContent) |
ToString() ToString() ToString() ToString() |
Returns a string that represents the current object. (Inherited from Object) |
TryComputeLength(Int64) TryComputeLength(Int64) TryComputeLength(Int64) TryComputeLength(Int64) |
Determines whether the HTTP content has a valid length in bytes. (Inherited from HttpContent) |
Properties
Headers Headers Headers Headers |
Gets the HTTP content headers as defined in RFC 2616. (Inherited from HttpContent) |
Applies to
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...