[{"data":1,"prerenderedAt":269},["ShallowReactive",2],{"navigation":3,"\u002Fguides\u002Fcomparison":129,"\u002Fguides\u002Fcomparison-surround":264},[4,27,65,107,125],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":26},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,14,18,22],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":19,"path":20,"stem":21},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start",{"title":23,"path":24,"stem":25},"MSRV","\u002Fgetting-started\u002Fmsrv","1.getting-started\u002F9.msrv",false,{"title":28,"icon":29,"path":30,"stem":31,"children":32,"page":26},"Client","i-lucide-plug-zap","\u002Fclient","2.client",[33,37,41,45,49,53,57,61],{"title":34,"path":35,"stem":36},"Configuration","\u002Fclient\u002Fconfiguration","2.client\u002F1.configuration",{"title":38,"path":39,"stem":40},"Events and acks","\u002Fclient\u002Fevents-and-acks","2.client\u002F2.events-and-acks",{"title":42,"path":43,"stem":44},"Connection state","\u002Fclient\u002Fconnection-state","2.client\u002F3.connection-state",{"title":46,"path":47,"stem":48},"Transports and proxies","\u002Fclient\u002Ftransports-and-proxies","2.client\u002F4.transports-and-proxies",{"title":50,"path":51,"stem":52},"TLS","\u002Fclient\u002Ftls","2.client\u002F5.tls",{"title":54,"path":55,"stem":56},"Errors","\u002Fclient\u002Ferrors","2.client\u002F6.errors",{"title":58,"path":59,"stem":60},"Debugging","\u002Fclient\u002Fdebugging","2.client\u002F7.debugging",{"title":62,"path":63,"stem":64},"Blocking client","\u002Fclient\u002Fblocking","2.client\u002F8.blocking",{"title":66,"icon":67,"path":68,"stem":69,"children":70,"page":26},"Tauri plugin","i-simple-icons-tauri","\u002Ftauri","3.tauri",[71,75,79,83,87,91,95,99,103],{"title":72,"path":73,"stem":74},"Setup","\u002Ftauri\u002Fsetup","3.tauri\u002F1.setup",{"title":76,"path":77,"stem":78},"JavaScript API","\u002Ftauri\u002Fjavascript-api","3.tauri\u002F2.javascript-api",{"title":80,"path":81,"stem":82},"Rust API","\u002Ftauri\u002Frust-api","3.tauri\u002F3.rust-api",{"title":84,"path":85,"stem":86},"Permissions","\u002Ftauri\u002Fpermissions","3.tauri\u002F4.permissions",{"title":88,"path":89,"stem":90},"Security","\u002Ftauri\u002Fsecurity","3.tauri\u002F5.security",{"title":92,"path":93,"stem":94},"Messages and errors","\u002Ftauri\u002Fmessages-and-errors","3.tauri\u002F6.messages-and-errors",{"title":96,"path":97,"stem":98},"Troubleshooting","\u002Ftauri\u002Ftroubleshooting","3.tauri\u002F7.troubleshooting",{"title":100,"path":101,"stem":102},"Example app","\u002Ftauri\u002Fexample","3.tauri\u002F8.example",{"title":104,"path":105,"stem":106},"Plugin changelog","\u002Ftauri\u002Fchangelog","3.tauri\u002F9.changelog",{"title":108,"icon":109,"path":110,"stem":111,"children":112,"page":26},"Guides","i-lucide-book-open","\u002Fguides","4.guides",[113,117,121],{"title":114,"path":115,"stem":116},"Migration from rust_socketio","\u002Fguides\u002Fmigration","4.guides\u002F1.migration",{"title":118,"path":119,"stem":120},"Comparison","\u002Fguides\u002Fcomparison","4.guides\u002F2.comparison",{"title":122,"path":123,"stem":124},"Contributing","\u002Fguides\u002Fcontributing","4.guides\u002F3.contributing",{"title":126,"path":127,"stem":128},"Changelog","\u002Fchangelog","9.changelog",{"id":130,"title":118,"body":131,"description":257,"extension":258,"links":259,"meta":260,"navigation":261,"path":119,"seo":262,"stem":120,"__hash__":263},"docs\u002F4.guides\u002F2.comparison.md",{"type":132,"value":133,"toc":249},"minimark",[134,139,154,158,161,217,223,227,243],[135,136,138],"h2",{"id":137},"parity-with-socketio-client-48","Parity with socket.io-client 4.8",[140,141,142,143,153],"p",{},"Ported and tested: the socket.io-parser and engine.io-parser vectors, the connection and socket cases of socket.io-client and engine.io-client against Node servers, plus differential runs where the Node client and this client play the same scenario against one recording server (",[144,145,149],"a",{"href":146,"rel":147},"https:\u002F\u002Fgithub.com\u002Fs00d\u002Frust-socketio\u002Fblob\u002Fmain\u002Fcrates\u002Fsocketio-next\u002Ftests\u002Fconformance.rs",[148],"nofollow",[150,151,152],"code",{},"crates\u002Fsocketio-next\u002Ftests\u002Fconformance.rs",").",[135,155,157],{"id":156},"not-implemented","Not implemented",[140,159,160],{},"On purpose:",[162,163,164,175,181,199,202,205,208,211,214],"ul",{},[165,166,167,168,171,172,174],"li",{},"one ",[150,169,170],{},"Manager"," multiplexing several namespaces over one connection (each ",[150,173,28],{}," has its own; connect several);",[165,176,177,180],{},[150,178,179],{},"volatile"," (offline emits already fail fast);",[165,182,183,186,187,190,191,194,195,198],{},[150,184,185],{},"retries"," \u002F ",[150,188,189],{},"ackTimeout"," queues, ",[150,192,193],{},"onAnyOutgoing",", ",[150,196,197],{},"forceBase64",";",[165,200,201],{},"WebTransport, WASM, Engine.IO v3 (socket.io 2.x servers), permessage-deflate;",[165,203,204],{},"the msgpack parser (a feature later if a server needs it);",[165,206,207],{},"derive macros for events;",[165,209,210],{},"concurrent handler dispatch (handlers run in order);",[165,212,213],{},"injecting your own reqwest or tungstenite client (it would tie the public API to their versions);",[165,215,216],{},"browser-only options.",[140,218,219,222],{},[150,220,221],{},"connect()"," returns the first attempt's error instead of retrying silently.",[135,224,226],{"id":225},"other-rust-clients","Other Rust clients",[140,228,229,234,235,238,239,242],{},[144,230,233],{"href":231,"rel":232},"https:\u002F\u002Fgithub.com\u002F1c3t3a\u002Frust-socketio",[148],"rust_socketio"," 0.6 is where this crate started (see the ",[144,236,237],{"href":115},"migration","). tf-rust-socketio (a fork of it) and sioc \u002F eioc are other clients. Per-attempt query and headers, cookies, proxy support, the OS verifier, close codes, HTTP error bodies and ",[150,240,241],{},"reconnect()"," after close were added after comparing with them and with the upstream branch.",[140,244,245,246,248],{},"What this crate has on top: socket.io-client 4.8 behaviour checked against the reference client on the wire, typed states and errors, binary anywhere in the arguments, connection state recovery, and a ",[144,247,66],{"href":73},".",{"title":250,"searchDepth":251,"depth":252,"links":253},"",2,3,[254,255,256],{"id":137,"depth":251,"text":138},{"id":156,"depth":251,"text":157},{"id":225,"depth":251,"text":226},"Parity with socket.io-client 4.8, what is not implemented, and other Rust clients.","md",null,{},true,{"title":118,"description":257},"bftLH5xjyoZQewaCPfhcZETqga-tS31HjQkX6huPjK0",[265,267],{"title":114,"path":115,"stem":116,"description":266,"children":-1},"What changed from rust_socketio 0.6, the fixes and additions, and a mapping table.",{"title":122,"path":123,"stem":124,"description":268,"children":-1},"The justfile, the Node test servers, CI and the docs site.",1795285663832]