diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-04-09 00:34:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-08 18:34:15 -0400 |
| commit | 70af8128767f2fc5a9c59107d3b5ddc00531db55 (patch) | |
| tree | 48513959f16273eab2c4b743d61042b00a72deb8 /runtime/ops/net.rs | |
| parent | b30ac9c5cf58c34ed71d2f470cdbcd86a6096987 (diff) | |
feat: native HTTP bindings (#9935)
Co-authered-by: Luca Casonato <lucacasonato@yahoo.com>
Co-authered-by: Ben Noordhuis <info@bnoordhuis.nl>
Co-authered-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'runtime/ops/net.rs')
| -rw-r--r-- | runtime/ops/net.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ops/net.rs b/runtime/ops/net.rs index 48431ef22..4c38d2293 100644 --- a/runtime/ops/net.rs +++ b/runtime/ops/net.rs @@ -353,9 +353,9 @@ async fn op_connect( } } -struct TcpListenerResource { - listener: AsyncRefCell<TcpListener>, - cancel: CancelHandle, +pub struct TcpListenerResource { + pub listener: AsyncRefCell<TcpListener>, + pub cancel: CancelHandle, } impl Resource for TcpListenerResource { |
