Skip to content
Docs Try Aspire

IResourceWithEndpoints.asHttp2Service

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IResourceWithEndpoints {
// ... omitted for brevity
asHttp2Service(): IResourceWithEndpoints;
}

Signature

method asHttp2Service builder
Configures resource for HTTP/2
asHttp2Service(): IResourceWithEndpoints
IResourceWithEndpoints

Defined on

This method is defined on the following type: