Unosquare
    Show / Hide Table of Contents

    Delegate ResponseSerializerCallback

    A callback used to serialize data to a HTTP response.

    Namespace: EmbedIO
    Syntax
    public delegate Task ResponseSerializerCallback(IHttpContext context, object data);
    Parameters
    Type Name Description
    IHttpContext context

    The HTTP context of the request.

    Object data

    The data to serialize.

    Returns
    Type Description
    Task

    A representing the ongoing operation.

    Comments

    Back to top Copyright © 2017-2019 Unosquare