map

fun map(fromPort: Int, toPort: Int)

Adds a mapping to the port mapper.

Parameters

fromPort

the HTTP port number to map from

toPort

the HTTPS port number to map to