channel

fun channel(name: String): Seam

Returns a Seam view carrying only frames named name.

Outbound frames are prefixed with name's UTF-8 length and bytes; inbound frames named name are delivered with that header stripped.

This method is idempotent: multiple calls with the same name return the same Seam instance. Thread-safe.

Throws

if name's UTF-8 encoding is empty or exceeds 255 bytes.