UNPKG

@hazae41/kcp

Version:

Zero-copy KCP protocol for the web

11 lines (8 loc) 283 B
import { Writable } from '@hazae41/binary'; import { SecretKcpDuplex } from './stream.js'; declare class SecretKcpWriter { readonly parent: SecretKcpDuplex; constructor(parent: SecretKcpDuplex); onWrite(fragment: Writable): Promise<void>; } export { SecretKcpWriter };