PreconnectOptions

external interface PreconnectOptions(source)

Properties

Link copied to clipboard
abstract var numSockets: Double?

number of sockets to preconnect. Must be between 1 and 6. Defaults to 1.

Link copied to clipboard
abstract var url: String

URL for preconnect. Only the origin is relevant for opening the socket.