withHostPort

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1
interface FlociUIContainerResource {
// ... omitted for brevity
withHostPort(port: number): FlociUIContainerResource;
}

Signature

methodwithHostPortbuilder
Configures the host port that the Floci UI resource is exposed on instead of using a randomly assigned port.
withHostPort(port: number): FlociUIContainerResource
portnumberThe port to bind on the host. If `null` is used a random port will be assigned.
FlociUIContainerResource

Applies to

This method applies to the following types: