theater-handler-tcp 0.3.21

Raw TCP networking handler for Theater WebAssembly runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// WIT world for the TCP Handler
///
/// This world defines what the host provides to actors that import
/// the theater:simple/tcp interface for raw TCP networking.

package theater:tcp-handler;

world tcp-handler-host {
    /// Theater simple TCP interface
    /// Provides raw TCP connect, listen, accept, send, receive, close
    import theater:simple/tcp;

    /// Actor may export handler for incoming connections
    export theater:simple/tcp-client;
}