Method Respond(IExchange, int, object)

Assembly: redb.Tsak.Core.dll

Write a JSON body with any status code: an answer whose status code is part of the answer.

public static void Respond(IExchange exchange, int statusCode, object body)