OK() public static method

Create a new 200-OK HTTP response and apply the given delegate.
public static OK ( HTTPRequest HTTPRequest, Action Configurator = null ) : HTTPResponseBuilder
HTTPRequest HTTPRequest
Configurator Action A delegate to configure the HTTP response.
return HTTPResponseBuilder
Ejemplo n.º 1
0
        private HTTPResponse(HTTPRequest Request,
                             TContent Content)

            : this(HTTPResponseBuilder.OK(Request), Content, false)

        {
        }