Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithTransformClientCertHeader

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpRoute) WithTransformClientCertHeader(headerName string) YarpRoute

Signature

methodWithTransformClientCertHeader
Adds the transform which will set the given header with the Base64 encoded client certificate.
WithTransformClientCertHeader(headerName string) YarpRoute
headerNamestring
YarpRoute

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: