This crate provides an abstraction over the wasmcloud:telnet
contract. This allows
actors to be notified when a new telnet session has started and when text has been
received on a given session. Actors can also emit text to a specific session, which
ultimately correlates to an individual connected socket client.
```rust extern crate wasmcloudactortelnet as telnet; extern crate wasmcloudactorcore as actorcore; use wapc_guest::HandlerResult;
pub fn wapcinit() { telnet::Handlers::registersessionstarted(sessionstarted); telnet::Handlers::registerreceivetext(receivetext); actorcore::Handlers::registerhealth_request(health); }
fn sessionstarted(session: String) -> HandlerResult
fn health(_h: core::HealthCheckRequest) -> HandlerResult