| 1076 | |
| 1077 | httpServer.onRequest = [this, &serverCtx](HttpConnection& connection) |
| 1078 | { |
| 1079 | serverCtx.connection = &connection; |
| 1080 | const bool addedData = |
| 1081 | connection.request.getReadableStream().eventData.addListener<ServerContext, &ServerContext::onData>( |
| 1082 | serverCtx); |
| 1083 | SC_TEST_EXPECT(addedData); |
| 1084 | const bool addedEnd = |
| 1085 | connection.request.getReadableStream().eventEnd.addListener<ServerContext, &ServerContext::onEnd>( |
| 1086 | serverCtx); |
| 1087 | SC_TEST_EXPECT(addedEnd); |
| 1088 | }; |
| 1089 | |
| 1090 | ClientConnection clientStorage; |
| 1091 | HttpAsyncClient client; |
| 1092 | ResponseCollector collector; |
| 1093 | ChunkedBodyStream bodyStream; |
nothing calls this directly
no test coverage detected