HttpGatewayConfig
Defined in: packages/pic/src/pocket-ic-types.ts:123
Options for the HTTP gateway created together with a PocketIC instance.
Properties
Section titled “Properties”domains?
Section titled “domains?”
optionaldomains:string[]
Defined in: packages/pic/src/pocket-ic-types.ts:137
The domains the gateway serves canisters on. Defaults to localhost.
httpsConfig?
Section titled “httpsConfig?”
optionalhttpsConfig:HttpsConfig
Defined in: packages/pic/src/pocket-ic-types.ts:142
Serves the gateway over HTTPS with the given certificate and key.
ipAddr?
Section titled “ipAddr?”
optionalipAddr:string
Defined in: packages/pic/src/pocket-ic-types.ts:127
The IP address the gateway listens on. Defaults to 127.0.0.1.
optionalport:number
Defined in: packages/pic/src/pocket-ic-types.ts:132
The port the gateway listens on. Defaults to a free port.