We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8976088 + cf8f64d commit 49c3543Copy full SHA for 49c3543
README.md
@@ -551,7 +551,7 @@ httpServer = http.createServer(async (request, response) => {
551
// Accept Cap'n Web requests at `/api`.
552
if (request.url === "/api") {
553
try {
554
- nodeHttpBatchRpcResponse(request, response, new MyApiImpl(), {
+ await nodeHttpBatchRpcResponse(request, response, new MyApiImpl(), {
555
// If you are accepting WebSockets, then you might as well accept cross-origin HTTP, since
556
// WebSockets always permit cross-origin request anyway. But, see security considerations
557
// for further discussion.
0 commit comments