asHttp2Service
Method
interface ContainerResource { // ... omitted for brevity asHttp2Service(): IResourceWithEndpoints;}Signature
method
asHttp2Service builder Configures a resource to mark all endpoints' transport as HTTP/2. This is useful for HTTP/2 services that need prior knowledge.
asHttp2Service(): IResourceWithEndpointsReturns
IResourceWithEndpoints Applies to
This method applies to the following types: