shared property
bool
get
shared
Specifies whether additional HttpServer
objects can bind to the same combination of address
, port
and v6Only
.
If shared
is true
and more HttpServer
s from this isolate or other
isolates are bound to the port, then the incoming connections will be
distributed among all the bound HttpServer
s. Connections can be
distributed over multiple isolates this way.
Implementation
bool get shared => params.shared;