withHostPort
Method
interface PgWebContainerResource { // ... omitted for brevity withHostPort(port: number): PgWebContainerResource;}Signature
method
withHostPortbuilderConfigures the host port that the pgweb resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): PgWebContainerResourceParameters
portnumberReturns
PgWebContainerResourceApplies to
This method applies to the following types: