Interface IHttpContent
- Namespace
- RestSharp.Portable
- Assembly
- RestSharp.Portable.Core.dll
public interface IHttpContent
- Extension Methods
-
Properties
IHttpHeaders Headers { get; }
Property Value
- IHttpHeaders
Methods
CopyToAsync(Stream)
Task CopyToAsync(Stream stream)
Parameters
stream
Stream
Returns
- Task
LoadIntoBufferAsync(long)
Task LoadIntoBufferAsync(long maxBufferSize)
Parameters
maxBufferSize
long
Returns
- Task
ReadAsByteArrayAsync()
Task<byte[]> ReadAsByteArrayAsync()
Returns
- Task<byte[]>
ReadAsStreamAsync()
Task<Stream> ReadAsStreamAsync()
Returns
- Task<Stream>
ReadAsStringAsync()
Task<string> ReadAsStringAsync()
Returns
- Task<string>
TryComputeLength(out long)
bool TryComputeLength(out long length)
Parameters
length
long
Returns
- bool