public async Task Ping(HttpProcessor processor) { var req = await processor.GetJsonBody<PingRequest>(); await processor.WriteJson(new PongResponse { Response = req?.Request ?? await processor.GetRequestBody() }); }