HOST :: "127.0.0.1"; PORT :: 8081; Args :: struct { curl: bool; @"?Curl backend" sock: bool; @"?Socket backend" // Socket Backend connect: bool; @"?After connect" send: bool; @"?After send" delay: s32; @"?Delay" cancel: bool; @"?Stop" // Curl Backend q: Query_Kind; @"?[Optional] Predefined URLs from Query_Kind enum" cq: string; @"?[Optional] Custom query" os: Method_Kind; @"?One-Shot request with specific http method" stream: float; @"?Streamed request with payload size in MB. If is 0, fallback is 32 bytes" l: int; @"?Send/Recv byte limit" t: Drip_Behavior; @"?Drip behavior. Options: `send`, `recv`, `both`" // Both h: bool; @"?Usage and examples" } /** Lowercase because of the arg parser */ Query_Kind :: enum { ascii; umlaut; heavy; space; verylong; } Method_Kind:: enum { get; head; } Drip_Behavior :: enum { both; send; recv; }