HttpTransport.http constructor

HttpTransport.http({
  1. Object address = '0.0.0.0',
  2. required int port,
})

A plaintext HTTP/WS transport bound to address:port. Pass port: 0 for an ephemeral port.

Implementation

factory HttpTransport.http({Object address = '0.0.0.0', required int port}) =>
    HttpTransport._(address: address, port: port, secure: false);