(mut self, cors_domains: Option<String>)
| 57 | /// `new_localhost` are the `0.0.0.0` / `127.0.0.1` shorthands. Holds the |
| 58 | /// canonical server config so the hardening below lives in exactly one place. |
| 59 | pub fn new_with_listen_addr(listen_addr: IpAddr, port: u16) -> Self { |
| 60 | Self { |
| 61 | addr: SocketAddr::new(listen_addr, port), |
| 62 | // http-only: Summit's RPC is request/response (no subscriptions), so |
| 63 | // websockets are not needed. jsonrpsee enables websockets with pings |
| 64 | // disabled by default, and an idle upgraded connection holds its |
| 65 | // max_connections permit until the client closes; disabling websocket |
no outgoing calls
no test coverage detected