Show / Hide Table of Contents

    Class GzipHandler

    This handler sends requests as gzip compressed streams

    Inheritance
    System.Object
    GzipHandler
    Namespace: Dangl.RestClient
    Assembly: Dangl.RestClient.dll
    Syntax
    public class GzipHandler : DelegatingHandler

    Methods

    | Improve this Doc View Source

    SendAsync(HttpRequestMessage, CancellationToken)

    Will replace the content of the original request with a gzip compressed one

    Declaration
    protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    HttpRequestMessage request
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<HttpResponseMessage>
    • Improve this Doc
    • View Source
    Back to top © Dangl IT GmbH