Unosquare
    Show / Hide Table of Contents

    Delegate RequestDeserializerCallback<TData>

    A callback used to deserialize an HTTP request body.

    Namespace: EmbedIO
    Syntax
    public delegate Task<TData> RequestDeserializerCallback<TData>(IHttpContext context);
    Parameters
    Type Name Description
    IHttpContext context

    The IHttpContext whose request body is to be deserialized.

    Returns
    Type Description
    Task<TData>

    A Task, representing the ongoing operation, whose result will be the deserialized data.

    Type Parameters
    Name Description
    TData

    The expected type of the deserialized data.

    Comments

    Back to top Copyright © 2017-2019 Unosquare