createResponseContext method
Future<Http2ResponseContext>
createResponseContext(
- Socket request,
- ServerTransportStream response, [
- Http2RequestContext? correspondingRequest
override
Implementation
@override
Future<Http2ResponseContext> createResponseContext(
Socket request, ServerTransportStream response,
[Http2RequestContext? correspondingRequest]) async {
return Http2ResponseContext(app, response, correspondingRequest)
..encoders.addAll(app.encoders);
}