feat(net): add DNS, UDP, TCP listener and TLS endpoints
This commit is contained in:
1 parent
ee0c6cc80a
commit
ff3f19a2ea
20 files changed
+1327
-61
No files matched your search
@@ -478,6 +478,10 @@ pub(crate) fn dispatch(
|
||||
Err(error) => resource_recoverable(error),
|
||||
}
|
||||
}
|
||||
"resource.accept" => {
|
||||
let handle = resource_handle(take(&bound, "handle", builtin, span)?, span)?;
|
||||
interpreter.resource_accept(handle, &module, span)
|
||||
}
|
||||
"resource.request" => {
|
||||
let operation = expect_text_value(take(&bound, "operation", builtin, span)?, span)?;
|
||||
let value_type = bound["arguments"].type_name();
|
||||
|
||||
Reference in new issue
Block a user