[{"data":1,"prerenderedAt":403},["ShallowReactive",2],{"navigation":3,"\u002Fplatforms\u002Fserver":116,"\u002Fplatforms\u002Fserver-surround":398},[4,23,61,82,108,112],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,14,18],{"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",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"Guides","i-lucide-book-open","\u002Fguides","2.guides",[29,33,37,41,45,49,53,57],{"title":30,"path":31,"stem":32},"Connection & config","\u002Fguides\u002Fconnection","2.guides\u002F1.connection",{"title":34,"path":35,"stem":36},"Publish, RPC, history, presence","\u002Fguides\u002Foperations","2.guides\u002F2.operations",{"title":38,"path":39,"stem":40},"Events","\u002Fguides\u002Fevents","2.guides\u002F3.events",{"title":42,"path":43,"stem":44},"Subscriptions","\u002Fguides\u002Fsubscriptions","2.guides\u002F4.subscriptions",{"title":46,"path":47,"stem":48},"Tokens","\u002Fguides\u002Ftokens","2.guides\u002F5.tokens",{"title":50,"path":51,"stem":52},"Payloads (base64 vs rawJson)","\u002Fguides\u002Fpayloads","2.guides\u002F6.payloads",{"title":54,"path":55,"stem":56},"Rust backend","\u002Fguides\u002Frust","2.guides\u002F7.rust",{"title":58,"path":59,"stem":60},"Permissions","\u002Fguides\u002Fpermissions","2.guides\u002F8.permissions",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":22},"API reference","i-lucide-file-code","\u002Freference","3.reference",[67,71,75,79],{"title":68,"path":69,"stem":70},"JavaScript API","\u002Freference\u002Fjavascript-api","3.reference\u002F1.javascript-api",{"title":72,"path":73,"stem":74},"Types","\u002Freference\u002Ftypes","3.reference\u002F2.types",{"title":76,"path":77,"stem":78},"Tauri commands","\u002Freference\u002Fcommands","3.reference\u002F3.commands",{"title":58,"path":80,"stem":81},"\u002Freference\u002Fpermissions","3.reference\u002F4.permissions",{"title":83,"icon":84,"path":85,"stem":86,"children":87,"page":22},"Platforms","i-lucide-monitor-smartphone","\u002Fplatforms","4.platforms",[88,92,96,100,104],{"title":89,"path":90,"stem":91},"Overview","\u002Fplatforms\u002Foverview","4.platforms\u002F1.overview",{"title":93,"path":94,"stem":95},"Desktop","\u002Fplatforms\u002Fdesktop","4.platforms\u002F2.desktop",{"title":97,"path":98,"stem":99},"Android","\u002Fplatforms\u002Fandroid","4.platforms\u002F3.android",{"title":101,"path":102,"stem":103},"iOS","\u002Fplatforms\u002Fios","4.platforms\u002F4.ios",{"title":105,"path":106,"stem":107},"Centrifugo server","\u002Fplatforms\u002Fserver","4.platforms\u002F5.server",{"title":109,"path":110,"stem":111},"Deprecations","\u002Fdeprecations","5.deprecations",{"title":113,"path":114,"stem":115},"Changelog","\u002Fchangelog","9.changelog",{"id":117,"title":105,"body":118,"description":391,"extension":392,"generated":22,"links":393,"meta":394,"navigation":395,"path":106,"seo":396,"stem":107,"__hash__":397},"docs\u002F4.platforms\u002F5.server.md",{"type":119,"value":120,"toc":384},"minimark",[121,126,178,191,195,198,339,343,355,380],[122,123,125],"h2",{"id":124},"versions","Versions",[127,128,129,142],"table",{},[130,131,132],"thead",{},[133,134,135,139],"tr",{},[136,137,138],"th",{},"Centrifugo",[136,140,141],{},"Status",[143,144,145,154,162,170],"tbody",{},[133,146,147,151],{},[148,149,150],"td",{},"v5.x",[148,152,153],{},"✅ tested (CI runs v5.4.9, the oldest major the tests cover)",[133,155,156,159],{},[148,157,158],{},"v6.x",[148,160,161],{},"✅ same client protocol",[133,163,164,167],{},[148,165,166],{},"v4.x",[148,168,169],{},"✅ client protocol v2; no HTTP streaming",[133,171,172,175],{},[148,173,174],{},"v3 and older",[148,176,177],{},"❌ old client protocol",[179,180,181,182,186,187,190],"p",{},"The plugin speaks client protocol v2 (Centrifugo v4+). HTTP streaming (",[183,184,185],"code",{},"httpStreamUrl",") needs\nCentrifugo v5+ with ",[183,188,189],{},"http_stream"," enabled.",[122,192,194],{"id":193},"options-the-features-rely-on","Options the features rely on",[179,196,197],{},"Names are Centrifugo v5 options; v6 moved them into nested sections.",[127,199,200,210],{},[130,201,202],{},[133,203,204,207],{},[136,205,206],{},"Feature",[136,208,209],{},"Server option",[143,211,212,222,233,248,263,286,299,309,320,328],{},[133,213,214,217],{},[148,215,216],{},"Anonymous connections (no token)",[148,218,219],{},[183,220,221],{},"allow_anonymous_connect_without_token",[133,223,224,227],{},[148,225,226],{},"Connection \u002F subscription JWTs",[148,228,229,232],{},[183,230,231],{},"token_hmac_secret_key"," (or RSA\u002FECDSA keys, JWKS)",[133,234,235,238],{},[148,236,237],{},"Client publish",[148,239,240,243,244,247],{},[183,241,242],{},"allow_publish_for_client"," \u002F ",[183,245,246],{},"allow_publish_for_subscriber",", or a publish proxy",[133,249,250,253],{},[148,251,252],{},"Subscribe without a token",[148,254,255,258,259,262],{},[183,256,257],{},"allow_subscribe_for_client"," (",[183,260,261],{},"…_for_anonymous"," for anonymous)",[133,264,265,272],{},[148,266,267,268,271],{},"History, recovery, ",[183,269,270],{},"since",", positioning",[148,273,274,277,278,281,282,285],{},[183,275,276],{},"history_size"," + ",[183,279,280],{},"history_ttl"," (+ ",[183,283,284],{},"allow_history_for_client",")",[133,287,288,291],{},[148,289,290],{},"Presence",[148,292,293,281,296,285],{},[183,294,295],{},"presence",[183,297,298],{},"allow_presence_for_client",[133,300,301,304],{},[148,302,303],{},"Join \u002F leave",[148,305,306],{},[183,307,308],{},"join_leave",[133,310,311,314],{},[148,312,313],{},"Delta compression",[148,315,316,319],{},[183,317,318],{},"allowed_delta_types: [\"fossil\"]"," (v5.4+)",[133,321,322,325],{},[148,323,324],{},"RPC \u002F send",[148,326,327],{},"RPC proxy \u002F send proxy",[133,329,330,333],{},[148,331,332],{},"HTTP streaming",[148,334,335,338],{},[183,336,337],{},"http_stream: true"," (v5+)",[122,340,342],{"id":341},"test-server","Test server",[179,344,345,354],{},[346,347,351],"a",{"href":348,"rel":349},"https:\u002F\u002Fgithub.com\u002Fs00d\u002Ftauri-plugin-centrifugo\u002Fblob\u002Fmain\u002Fexamples\u002Fserver\u002Fcentrifugo.json",[350],"nofollow",[183,352,353],{},"examples\u002Fserver\u002Fcentrifugo.json","\nis a v5 config for the example app (port 8001, anonymous access, history, presence,\njoin\u002Fleave, HTTP streaming). It is insecure on purpose; do not use it in production.",[356,357,362],"pre",{"className":358,"code":359,"language":360,"meta":361,"style":361},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","centrifugo --config examples\u002Fserver\u002Fcentrifugo.json\n","bash","",[183,363,364],{"__ignoreMap":361},[365,366,369,373,377],"span",{"class":367,"line":368},"line",1,[365,370,372],{"class":371},"sBMFI","centrifugo",[365,374,376],{"class":375},"sfazB"," --config",[365,378,379],{"class":375}," examples\u002Fserver\u002Fcentrifugo.json\n",[381,382,383],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":361,"searchDepth":385,"depth":386,"links":387},2,3,[388,389,390],{"id":124,"depth":385,"text":125},{"id":193,"depth":385,"text":194},{"id":341,"depth":385,"text":342},"Supported Centrifugo versions and the server options the plugin uses.","md",null,{},true,{"title":105,"description":391},"K4n5h8V8lGweBBcPWGbjN6n8ExFXRE_1YWcaM_ngwvc",[399,401],{"title":101,"path":102,"stem":103,"description":400,"children":-1},"iOS devices and the simulator.",{"title":109,"path":110,"stem":111,"description":402,"children":-1},"What 0.2 (the move to the official centrifuge-client SDK) deprecated or no longer supports.",1794166801300]