Class CompressedContent
This content models a gzip or deflate compressed http content
Inheritance
System.Object
CompressedContent
Assembly: Dangl.RestClient.dll
Syntax
public class CompressedContent : HttpContent
Constructors
|
Improve this Doc
View Source
CompressedContent(HttpContent, String)
Will create a compressed content based on the original content
Declaration
public CompressedContent(HttpContent content, string encodingType)
Parameters
Type |
Name |
Description |
HttpContent |
content |
|
System.String |
encodingType |
|
Methods
|
Improve this Doc
View Source
SerializeToStreamAsync(Stream, TransportContext)
Declaration
protected override Task SerializeToStreamAsync(Stream stream, TransportContext context)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
TransportContext |
context |
|
Returns
|
Improve this Doc
View Source
TryComputeLength(out Int64)
Declaration
protected override bool TryComputeLength(out long length)
Parameters
Type |
Name |
Description |
System.Int64 |
length |
|
Returns
Type |
Description |
System.Boolean |
|