2025-01-22 16:18:30 +01:00

11 lines
246 B
Haxe

package kha.netsync;
import haxe.io.Bytes;
interface Client {
var id(get, null): Int;
function send(bytes: Bytes, mandatory: Bool): Void;
function receive(receiver: Bytes->Void): Void;
function onClose(close: Void->Void): Void;
}