[{"data":1,"prerenderedAt":1884},["ShallowReactive",2],{"navigation":3,"/guide/peer":56,"/guide/peer-surround":1880},[4,30],{"title":5,"_path":6,"children":7,"icon":9},"Getting Started","/guide",[8,10,14,18,22,26],{"title":5,"_path":6,"icon":9},"ph:book-open-duotone",{"title":11,"_path":12,"icon":13},"Hooks","/guide/hooks","material-symbols-light:data-object",{"title":15,"_path":16,"icon":17},"Peer","/guide/peer","mynaui:api",{"title":19,"_path":20,"icon":21},"Message","/guide/message","solar:letter-line-duotone",{"title":23,"_path":24,"icon":25},"Pub / Sub","/guide/pubsub","simple-icons:googlepubsub",{"title":27,"_path":28,"icon":29},"Resolver API","/guide/resolver","tabler:route",{"title":31,"_path":32,"children":33,"icon":35},"Adapters","/adapters",[34,36,40,44,48,52],{"title":31,"_path":32,"icon":35},"emojione-monotone:electric-plug",{"title":37,"_path":38,"icon":39},"Bun","/adapters/bun","simple-icons:bun",{"title":41,"_path":42,"icon":43},"Cloudflare","/adapters/cloudflare","devicon-plain:cloudflareworkers",{"title":45,"_path":46,"icon":47},"Deno","/adapters/deno","teenyicons:deno-solid",{"title":49,"_path":50,"icon":51},"Node.js","/adapters/node","akar-icons:node-fill",{"title":53,"_path":54,"icon":55},"SSE","/adapters/sse","clarity:two-way-arrows-line",{"_path":16,"_dir":57,"_draft":58,"_partial":58,"_locale":59,"title":15,"description":60,"icon":17,"body":61,"_type":1874,"_id":1875,"_source":1876,"_file":1877,"_stem":1878,"_extension":1879},"guide",false,"","Peer object allows easily interacting with connected clients.",{"type":62,"children":63,"toc":1853},"root",[64,72,79,91,107,117,122,148,158,163,176,186,204,224,234,239,252,368,376,386,391,401,406,412,422,427,437,442,446,456,461,464,474,479,482,492,497,502,581,594,603,608,620,626,1419,1847],{"type":65,"tag":66,"props":67,"children":68},"element","p",{},[69],{"type":70,"value":71},"text","When a new client connects to the server, crossws creates a peer instance that allows getting information from clients and sending messages to them.",{"type":65,"tag":73,"props":74,"children":76},"h2",{"id":75},"instance-properties",[77],{"type":70,"value":78},"Instance properties",{"type":65,"tag":80,"props":81,"children":83},"h3",{"id":82},"peerid",[84],{"type":65,"tag":85,"props":86,"children":88},"code",{"className":87},[],[89],{"type":70,"value":90},"peer.id",{"type":65,"tag":66,"props":92,"children":93},{},[94,96,105],{"type":70,"value":95},"Unique random identifier (",{"type":65,"tag":97,"props":98,"children":102},"a",{"href":99,"rel":100},"https://developer.mozilla.org/en-US/docs/Glossary/UUID",[101],"nofollow",[103],{"type":70,"value":104},"uuid v4",{"type":70,"value":106},") for the peer.",{"type":65,"tag":80,"props":108,"children":110},{"id":109},"peerrequest",[111],{"type":65,"tag":85,"props":112,"children":114},{"className":113},[],[115],{"type":70,"value":116},"peer.request?",{"type":65,"tag":66,"props":118,"children":119},{},[120],{"type":70,"value":121},"Access to the upgrade request info. You can use it to do authentication and access users headers and cookies.",{"type":65,"tag":123,"props":124,"children":125},"note",{},[126],{"type":65,"tag":66,"props":127,"children":128},{},[129,131,138,140,146],{"type":70,"value":130},"\nThis property is compatible with web ",{"type":65,"tag":97,"props":132,"children":135},{"href":133,"rel":134},"https://developer.mozilla.org/en-US/docs/Web/API/Request",[101],[136],{"type":70,"value":137},"Request",{"type":70,"value":139}," interface, However interface is emulated for Node.js and sometimes unavailable. Refer to the ",{"type":65,"tag":97,"props":141,"children":143},{"href":142},"#compatibility",[144],{"type":70,"value":145},"compatibility table",{"type":70,"value":147}," for more info.",{"type":65,"tag":80,"props":149,"children":151},{"id":150},"peerremoteaddress",[152],{"type":65,"tag":85,"props":153,"children":155},{"className":154},[],[156],{"type":70,"value":157},"peer.remoteAddress?",{"type":65,"tag":66,"props":159,"children":160},{},[161],{"type":70,"value":162},"The IP address of the client.",{"type":65,"tag":123,"props":164,"children":165},{},[166],{"type":65,"tag":66,"props":167,"children":168},{},[169,171,175],{"type":70,"value":170},"\nNot all adapters provide this. Refer to the ",{"type":65,"tag":97,"props":172,"children":173},{"href":142},[174],{"type":70,"value":145},{"type":70,"value":147},{"type":65,"tag":80,"props":177,"children":179},{"id":178},"peerwebsocket",[180],{"type":65,"tag":85,"props":181,"children":183},{"className":182},[],[184],{"type":70,"value":185},"peer.websocket",{"type":65,"tag":66,"props":187,"children":188},{},[189,191,202],{"type":70,"value":190},"Direct access to the ",{"type":65,"tag":97,"props":192,"children":195},{"href":193,"rel":194},"https://developer.mozilla.org/en-US/docs/Web/API/WebSocket",[101],[196],{"type":65,"tag":85,"props":197,"children":199},{"className":198},[],[200],{"type":70,"value":201},"WebSocket",{"type":70,"value":203}," instance.",{"type":65,"tag":123,"props":205,"children":206},{},[207],{"type":65,"tag":66,"props":208,"children":209},{},[210,212,217,219,223],{"type":70,"value":211},"\nWebSocket properties vary across runtimes. When accessing ",{"type":65,"tag":85,"props":213,"children":215},{"className":214},[],[216],{"type":70,"value":185},{"type":70,"value":218},", a lightweight proxy increases stability. Refer to the ",{"type":65,"tag":97,"props":220,"children":221},{"href":142},[222],{"type":70,"value":145},{"type":70,"value":147},{"type":65,"tag":80,"props":225,"children":227},{"id":226},"peercontext",[228],{"type":65,"tag":85,"props":229,"children":231},{"className":230},[],[232],{"type":70,"value":233},"peer.context",{"type":65,"tag":66,"props":235,"children":236},{},[237],{"type":70,"value":238},"The context is an object that contains arbitrary information about the request.",{"type":65,"tag":66,"props":240,"children":241},{},[242,244,250],{"type":70,"value":243},"You can augment the ",{"type":65,"tag":85,"props":245,"children":247},{"className":246},[],[248],{"type":70,"value":249},"PeerContext",{"type":70,"value":251}," interface types to add your properties.",{"type":65,"tag":253,"props":254,"children":258},"pre",{"className":255,"code":256,"language":257,"meta":59,"style":59},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","declare module \"crossws\" {\n  interface PeerContext {\n    customData?: string[];\n  }\n}\n","ts",[259],{"type":65,"tag":85,"props":260,"children":261},{"__ignoreMap":59},[262,301,320,350,359],{"type":65,"tag":263,"props":264,"children":267},"span",{"class":265,"line":266},"line",1,[268,274,279,285,291,296],{"type":65,"tag":263,"props":269,"children":271},{"style":270},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[272],{"type":70,"value":273},"declare",{"type":65,"tag":263,"props":275,"children":276},{"style":270},[277],{"type":70,"value":278}," module",{"type":65,"tag":263,"props":280,"children":282},{"style":281},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[283],{"type":70,"value":284}," \"",{"type":65,"tag":263,"props":286,"children":288},{"style":287},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[289],{"type":70,"value":290},"crossws",{"type":65,"tag":263,"props":292,"children":293},{"style":281},[294],{"type":70,"value":295},"\"",{"type":65,"tag":263,"props":297,"children":298},{"style":281},[299],{"type":70,"value":300}," {\n",{"type":65,"tag":263,"props":302,"children":304},{"class":265,"line":303},2,[305,310,316],{"type":65,"tag":263,"props":306,"children":307},{"style":270},[308],{"type":70,"value":309},"  interface",{"type":65,"tag":263,"props":311,"children":313},{"style":312},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[314],{"type":70,"value":315}," PeerContext",{"type":65,"tag":263,"props":317,"children":318},{"style":281},[319],{"type":70,"value":300},{"type":65,"tag":263,"props":321,"children":323},{"class":265,"line":322},3,[324,330,335,340,345],{"type":65,"tag":263,"props":325,"children":327},{"style":326},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[328],{"type":70,"value":329},"    customData",{"type":65,"tag":263,"props":331,"children":332},{"style":281},[333],{"type":70,"value":334},"?:",{"type":65,"tag":263,"props":336,"children":337},{"style":312},[338],{"type":70,"value":339}," string",{"type":65,"tag":263,"props":341,"children":342},{"style":326},[343],{"type":70,"value":344},"[]",{"type":65,"tag":263,"props":346,"children":347},{"style":281},[348],{"type":70,"value":349},";\n",{"type":65,"tag":263,"props":351,"children":353},{"class":265,"line":352},4,[354],{"type":65,"tag":263,"props":355,"children":356},{"style":281},[357],{"type":70,"value":358},"  }\n",{"type":65,"tag":263,"props":360,"children":362},{"class":265,"line":361},5,[363],{"type":65,"tag":263,"props":364,"children":365},{"style":281},[366],{"type":70,"value":367},"}\n",{"type":65,"tag":123,"props":369,"children":370},{},[371],{"type":65,"tag":66,"props":372,"children":373},{},[374],{"type":70,"value":375},"\ncontext data can be volatile in some runtimes.",{"type":65,"tag":80,"props":377,"children":379},{"id":378},"peertopics",[380],{"type":65,"tag":85,"props":381,"children":383},{"className":382},[],[384],{"type":70,"value":385},"peer.topics",{"type":65,"tag":66,"props":387,"children":388},{},[389],{"type":70,"value":390},"All topics, this peer has been subscribed to.",{"type":65,"tag":80,"props":392,"children":394},{"id":393},"peernamespace",[395],{"type":65,"tag":85,"props":396,"children":398},{"className":397},[],[399],{"type":70,"value":400},"peer.namespace",{"type":65,"tag":66,"props":402,"children":403},{},[404],{"type":70,"value":405},"Peer's pubsub namespace.",{"type":65,"tag":73,"props":407,"children":409},{"id":408},"instance-methods",[410],{"type":70,"value":411},"Instance methods",{"type":65,"tag":80,"props":413,"children":415},{"id":414},"peersendmessage-compress",[416],{"type":65,"tag":85,"props":417,"children":419},{"className":418},[],[420],{"type":70,"value":421},"peer.send(message, { compress? })",{"type":65,"tag":66,"props":423,"children":424},{},[425],{"type":70,"value":426},"Send a message to the connected client.",{"type":65,"tag":80,"props":428,"children":430},{"id":429},"peersubscribechannel",[431],{"type":65,"tag":85,"props":432,"children":434},{"className":433},[],[435],{"type":70,"value":436},"peer.subscribe(channel)",{"type":65,"tag":66,"props":438,"children":439},{},[440],{"type":70,"value":441},"Join a broadcast channel.",{"type":65,"tag":443,"props":444,"children":445},"read-more",{"to":24},[],{"type":65,"tag":80,"props":447,"children":449},{"id":448},"peerunsubscribechannel",[450],{"type":65,"tag":85,"props":451,"children":453},{"className":452},[],[454],{"type":70,"value":455},"peer.unsubscribe(channel)",{"type":65,"tag":66,"props":457,"children":458},{},[459],{"type":70,"value":460},"Leave a broadcast channel.",{"type":65,"tag":443,"props":462,"children":463},{"to":24},[],{"type":65,"tag":80,"props":465,"children":467},{"id":466},"peerpublishchannel-message",[468],{"type":65,"tag":85,"props":469,"children":471},{"className":470},[],[472],{"type":70,"value":473},"peer.publish(channel, message)",{"type":65,"tag":66,"props":475,"children":476},{},[477],{"type":70,"value":478},"broadcast a message to the channel.",{"type":65,"tag":443,"props":480,"children":481},{"to":24},[],{"type":65,"tag":80,"props":483,"children":485},{"id":484},"peerclosecode-number",[486],{"type":65,"tag":85,"props":487,"children":489},{"className":488},[],[490],{"type":70,"value":491},"peer.close(code?, number?)",{"type":65,"tag":66,"props":493,"children":494},{},[495],{"type":70,"value":496},"Gracefully closes the connection.",{"type":65,"tag":66,"props":498,"children":499},{},[500],{"type":70,"value":501},"Here is a list of close codes:",{"type":65,"tag":503,"props":504,"children":505},"ul",{},[506,518,529,540,551,562],{"type":65,"tag":507,"props":508,"children":509},"li",{},[510,516],{"type":65,"tag":85,"props":511,"children":513},{"className":512},[],[514],{"type":70,"value":515},"1000",{"type":70,"value":517}," means \"normal closure\" (default)",{"type":65,"tag":507,"props":519,"children":520},{},[521,527],{"type":65,"tag":85,"props":522,"children":524},{"className":523},[],[525],{"type":70,"value":526},"1009",{"type":70,"value":528}," means a message was too big and was rejected",{"type":65,"tag":507,"props":530,"children":531},{},[532,538],{"type":65,"tag":85,"props":533,"children":535},{"className":534},[],[536],{"type":70,"value":537},"1011",{"type":70,"value":539}," means the server encountered an error",{"type":65,"tag":507,"props":541,"children":542},{},[543,549],{"type":65,"tag":85,"props":544,"children":546},{"className":545},[],[547],{"type":70,"value":548},"1012",{"type":70,"value":550}," means the server is restarting",{"type":65,"tag":507,"props":552,"children":553},{},[554,560],{"type":65,"tag":85,"props":555,"children":557},{"className":556},[],[558],{"type":70,"value":559},"1013",{"type":70,"value":561}," means the server is too busy or the client is rate-limited",{"type":65,"tag":507,"props":563,"children":564},{},[565,571,573,579],{"type":65,"tag":85,"props":566,"children":568},{"className":567},[],[569],{"type":70,"value":570},"4000",{"type":70,"value":572}," through ",{"type":65,"tag":85,"props":574,"children":576},{"className":575},[],[577],{"type":70,"value":578},"4999",{"type":70,"value":580}," are reserved for applications (you can use it!)",{"type":65,"tag":66,"props":582,"children":583},{},[584,586,592],{"type":70,"value":585},"To close the connection abruptly, use ",{"type":65,"tag":85,"props":587,"children":589},{"className":588},[],[590],{"type":70,"value":591},"peer.terminate()",{"type":70,"value":593},".",{"type":65,"tag":80,"props":595,"children":597},{"id":596},"peerterminate",[598],{"type":65,"tag":85,"props":599,"children":601},{"className":600},[],[602],{"type":70,"value":591},{"type":65,"tag":66,"props":604,"children":605},{},[606],{"type":70,"value":607},"Abruptly close the connection.",{"type":65,"tag":66,"props":609,"children":610},{},[611,613,619],{"type":70,"value":612},"To gracefully close the connection, use ",{"type":65,"tag":85,"props":614,"children":616},{"className":615},[],[617],{"type":70,"value":618},"peer.close()",{"type":70,"value":593},{"type":65,"tag":73,"props":621,"children":623},{"id":622},"compatibility",[624],{"type":70,"value":625},"Compatibility",{"type":65,"tag":627,"props":628,"children":629},"table",{},[630,697],{"type":65,"tag":631,"props":632,"children":633},"thead",{},[634],{"type":65,"tag":635,"props":636,"children":637},"tr",{},[638,642,649,656,665,672,680,689],{"type":65,"tag":639,"props":640,"children":641},"th",{},[],{"type":65,"tag":639,"props":643,"children":644},{},[645],{"type":65,"tag":97,"props":646,"children":647},{"href":38},[648],{"type":70,"value":37},{"type":65,"tag":639,"props":650,"children":651},{},[652],{"type":65,"tag":97,"props":653,"children":654},{"href":42},[655],{"type":70,"value":41},{"type":65,"tag":639,"props":657,"children":658},{},[659],{"type":65,"tag":97,"props":660,"children":662},{"href":661},"/adapters/cloudflare#durable-objects",[663],{"type":70,"value":664},"Cloudflare (durable)",{"type":65,"tag":639,"props":666,"children":667},{},[668],{"type":65,"tag":97,"props":669,"children":670},{"href":46},[671],{"type":70,"value":45},{"type":65,"tag":639,"props":673,"children":674},{},[675],{"type":65,"tag":97,"props":676,"children":677},{"href":50},[678],{"type":70,"value":679},"Node (ws)",{"type":65,"tag":639,"props":681,"children":682},{},[683],{"type":65,"tag":97,"props":684,"children":686},{"href":685},"/adapters/node#uwebsockets",[687],{"type":70,"value":688},"Node (μWebSockets)",{"type":65,"tag":639,"props":690,"children":691},{},[692],{"type":65,"tag":97,"props":693,"children":695},{"href":694},"adapters/sse",[696],{"type":70,"value":53},{"type":65,"tag":698,"props":699,"children":700},"tbody",{},[701,743,833,873,933,1004,1044,1084,1162,1259,1319,1379],{"type":65,"tag":635,"props":702,"children":703},{},[704,714,719,723,727,731,735,739],{"type":65,"tag":705,"props":706,"children":707},"td",{},[708],{"type":65,"tag":85,"props":709,"children":711},{"className":710},[],[712],{"type":70,"value":713},"send()",{"type":65,"tag":705,"props":715,"children":716},{},[717],{"type":70,"value":718},"✓",{"type":65,"tag":705,"props":720,"children":721},{},[722],{"type":70,"value":718},{"type":65,"tag":705,"props":724,"children":725},{},[726],{"type":70,"value":718},{"type":65,"tag":705,"props":728,"children":729},{},[730],{"type":70,"value":718},{"type":65,"tag":705,"props":732,"children":733},{},[734],{"type":70,"value":718},{"type":65,"tag":705,"props":736,"children":737},{},[738],{"type":70,"value":718},{"type":65,"tag":705,"props":740,"children":741},{},[742],{"type":70,"value":718},{"type":65,"tag":635,"props":744,"children":745},{},[746,763,767,772,790,803,816,820],{"type":65,"tag":705,"props":747,"children":748},{},[749,755,757],{"type":65,"tag":85,"props":750,"children":752},{"className":751},[],[753],{"type":70,"value":754},"publish()",{"type":70,"value":756}," / ",{"type":65,"tag":85,"props":758,"children":760},{"className":759},[],[761],{"type":70,"value":762},"subscribe()",{"type":65,"tag":705,"props":764,"children":765},{},[766],{"type":70,"value":718},{"type":65,"tag":705,"props":768,"children":769},{},[770],{"type":70,"value":771},"⨉",{"type":65,"tag":705,"props":773,"children":774},{},[775,777],{"type":70,"value":776},"✓ ",{"type":65,"tag":778,"props":779,"children":780},"sup",{},[781],{"type":65,"tag":97,"props":782,"children":787},{"href":783,"ariaDescribedBy":784,"dataFootnoteRef":59,"id":786},"#user-content-fn-1",[785],"footnote-label","user-content-fnref-1",[788],{"type":70,"value":789},"1",{"type":65,"tag":705,"props":791,"children":792},{},[793,794],{"type":70,"value":776},{"type":65,"tag":778,"props":795,"children":796},{},[797],{"type":65,"tag":97,"props":798,"children":801},{"href":783,"ariaDescribedBy":799,"dataFootnoteRef":59,"id":800},[785],"user-content-fnref-1-2",[802],{"type":70,"value":789},{"type":65,"tag":705,"props":804,"children":805},{},[806,807],{"type":70,"value":776},{"type":65,"tag":778,"props":808,"children":809},{},[810],{"type":65,"tag":97,"props":811,"children":814},{"href":783,"ariaDescribedBy":812,"dataFootnoteRef":59,"id":813},[785],"user-content-fnref-1-3",[815],{"type":70,"value":789},{"type":65,"tag":705,"props":817,"children":818},{},[819],{"type":70,"value":718},{"type":65,"tag":705,"props":821,"children":822},{},[823,824],{"type":70,"value":776},{"type":65,"tag":778,"props":825,"children":826},{},[827],{"type":65,"tag":97,"props":828,"children":831},{"href":783,"ariaDescribedBy":829,"dataFootnoteRef":59,"id":830},[785],"user-content-fnref-1-4",[832],{"type":70,"value":789},{"type":65,"tag":635,"props":834,"children":835},{},[836,845,849,853,857,861,865,869],{"type":65,"tag":705,"props":837,"children":838},{},[839],{"type":65,"tag":85,"props":840,"children":842},{"className":841},[],[843],{"type":70,"value":844},"close()",{"type":65,"tag":705,"props":846,"children":847},{},[848],{"type":70,"value":718},{"type":65,"tag":705,"props":850,"children":851},{},[852],{"type":70,"value":718},{"type":65,"tag":705,"props":854,"children":855},{},[856],{"type":70,"value":718},{"type":65,"tag":705,"props":858,"children":859},{},[860],{"type":70,"value":718},{"type":65,"tag":705,"props":862,"children":863},{},[864],{"type":70,"value":718},{"type":65,"tag":705,"props":866,"children":867},{},[868],{"type":70,"value":718},{"type":65,"tag":705,"props":870,"children":871},{},[872],{"type":70,"value":718},{"type":65,"tag":635,"props":874,"children":875},{},[876,885,889,904,908,912,916,920],{"type":65,"tag":705,"props":877,"children":878},{},[879],{"type":65,"tag":85,"props":880,"children":882},{"className":881},[],[883],{"type":70,"value":884},"terminate()",{"type":65,"tag":705,"props":886,"children":887},{},[888],{"type":70,"value":718},{"type":65,"tag":705,"props":890,"children":891},{},[892,893],{"type":70,"value":776},{"type":65,"tag":778,"props":894,"children":895},{},[896],{"type":65,"tag":97,"props":897,"children":901},{"href":898,"ariaDescribedBy":899,"dataFootnoteRef":59,"id":900},"#user-content-fn-2",[785],"user-content-fnref-2",[902],{"type":70,"value":903},"2",{"type":65,"tag":705,"props":905,"children":906},{},[907],{"type":70,"value":718},{"type":65,"tag":705,"props":909,"children":910},{},[911],{"type":70,"value":718},{"type":65,"tag":705,"props":913,"children":914},{},[915],{"type":70,"value":718},{"type":65,"tag":705,"props":917,"children":918},{},[919],{"type":70,"value":718},{"type":65,"tag":705,"props":921,"children":922},{},[923,924],{"type":70,"value":776},{"type":65,"tag":778,"props":925,"children":926},{},[927],{"type":65,"tag":97,"props":928,"children":931},{"href":898,"ariaDescribedBy":929,"dataFootnoteRef":59,"id":930},[785],"user-content-fnref-2-2",[932],{"type":70,"value":903},{"type":65,"tag":635,"props":934,"children":935},{},[936,945,949,953,968,972,987,1000],{"type":65,"tag":705,"props":937,"children":938},{},[939],{"type":65,"tag":85,"props":940,"children":942},{"className":941},[],[943],{"type":70,"value":944},"request",{"type":65,"tag":705,"props":946,"children":947},{},[948],{"type":70,"value":718},{"type":65,"tag":705,"props":950,"children":951},{},[952],{"type":70,"value":718},{"type":65,"tag":705,"props":954,"children":955},{},[956,957],{"type":70,"value":776},{"type":65,"tag":778,"props":958,"children":959},{},[960],{"type":65,"tag":97,"props":961,"children":965},{"href":962,"ariaDescribedBy":963,"dataFootnoteRef":59,"id":964},"#user-content-fn-30",[785],"user-content-fnref-30",[966],{"type":70,"value":967},"3",{"type":65,"tag":705,"props":969,"children":970},{},[971],{"type":70,"value":718},{"type":65,"tag":705,"props":973,"children":974},{},[975,976],{"type":70,"value":776},{"type":65,"tag":778,"props":977,"children":978},{},[979],{"type":65,"tag":97,"props":980,"children":984},{"href":981,"ariaDescribedBy":982,"dataFootnoteRef":59,"id":983},"#user-content-fn-31",[785],"user-content-fnref-31",[985],{"type":70,"value":986},"4",{"type":65,"tag":705,"props":988,"children":989},{},[990,991],{"type":70,"value":776},{"type":65,"tag":778,"props":992,"children":993},{},[994],{"type":65,"tag":97,"props":995,"children":998},{"href":981,"ariaDescribedBy":996,"dataFootnoteRef":59,"id":997},[785],"user-content-fnref-31-2",[999],{"type":70,"value":986},{"type":65,"tag":705,"props":1001,"children":1002},{},[1003],{"type":70,"value":718},{"type":65,"tag":635,"props":1005,"children":1006},{},[1007,1016,1020,1024,1028,1032,1036,1040],{"type":65,"tag":705,"props":1008,"children":1009},{},[1010],{"type":65,"tag":85,"props":1011,"children":1013},{"className":1012},[],[1014],{"type":70,"value":1015},"remoteAddress",{"type":65,"tag":705,"props":1017,"children":1018},{},[1019],{"type":70,"value":718},{"type":65,"tag":705,"props":1021,"children":1022},{},[1023],{"type":70,"value":771},{"type":65,"tag":705,"props":1025,"children":1026},{},[1027],{"type":70,"value":771},{"type":65,"tag":705,"props":1029,"children":1030},{},[1031],{"type":70,"value":718},{"type":65,"tag":705,"props":1033,"children":1034},{},[1035],{"type":70,"value":718},{"type":65,"tag":705,"props":1037,"children":1038},{},[1039],{"type":70,"value":718},{"type":65,"tag":705,"props":1041,"children":1042},{},[1043],{"type":70,"value":771},{"type":65,"tag":635,"props":1045,"children":1046},{},[1047,1056,1060,1064,1068,1072,1076,1080],{"type":65,"tag":705,"props":1048,"children":1049},{},[1050],{"type":65,"tag":85,"props":1051,"children":1053},{"className":1052},[],[1054],{"type":70,"value":1055},"websocket.url",{"type":65,"tag":705,"props":1057,"children":1058},{},[1059],{"type":70,"value":718},{"type":65,"tag":705,"props":1061,"children":1062},{},[1063],{"type":70,"value":718},{"type":65,"tag":705,"props":1065,"children":1066},{},[1067],{"type":70,"value":718},{"type":65,"tag":705,"props":1069,"children":1070},{},[1071],{"type":70,"value":718},{"type":65,"tag":705,"props":1073,"children":1074},{},[1075],{"type":70,"value":718},{"type":65,"tag":705,"props":1077,"children":1078},{},[1079],{"type":70,"value":718},{"type":65,"tag":705,"props":1081,"children":1082},{},[1083],{"type":70,"value":718},{"type":65,"tag":635,"props":1085,"children":1086},{},[1087,1096,1111,1115,1119,1132,1145,1158],{"type":65,"tag":705,"props":1088,"children":1089},{},[1090],{"type":65,"tag":85,"props":1091,"children":1093},{"className":1092},[],[1094],{"type":70,"value":1095},"websocket.extensions",{"type":65,"tag":705,"props":1097,"children":1098},{},[1099,1100],{"type":70,"value":776},{"type":65,"tag":778,"props":1101,"children":1102},{},[1103],{"type":65,"tag":97,"props":1104,"children":1108},{"href":1105,"ariaDescribedBy":1106,"dataFootnoteRef":59,"id":1107},"#user-content-fn-4",[785],"user-content-fnref-4",[1109],{"type":70,"value":1110},"5",{"type":65,"tag":705,"props":1112,"children":1113},{},[1114],{"type":70,"value":771},{"type":65,"tag":705,"props":1116,"children":1117},{},[1118],{"type":70,"value":771},{"type":65,"tag":705,"props":1120,"children":1121},{},[1122,1123],{"type":70,"value":776},{"type":65,"tag":778,"props":1124,"children":1125},{},[1126],{"type":65,"tag":97,"props":1127,"children":1130},{"href":1105,"ariaDescribedBy":1128,"dataFootnoteRef":59,"id":1129},[785],"user-content-fnref-4-2",[1131],{"type":70,"value":1110},{"type":65,"tag":705,"props":1133,"children":1134},{},[1135,1136],{"type":70,"value":776},{"type":65,"tag":778,"props":1137,"children":1138},{},[1139],{"type":65,"tag":97,"props":1140,"children":1143},{"href":1105,"ariaDescribedBy":1141,"dataFootnoteRef":59,"id":1142},[785],"user-content-fnref-4-3",[1144],{"type":70,"value":1110},{"type":65,"tag":705,"props":1146,"children":1147},{},[1148,1149],{"type":70,"value":776},{"type":65,"tag":778,"props":1150,"children":1151},{},[1152],{"type":65,"tag":97,"props":1153,"children":1156},{"href":1105,"ariaDescribedBy":1154,"dataFootnoteRef":59,"id":1155},[785],"user-content-fnref-4-4",[1157],{"type":70,"value":1110},{"type":65,"tag":705,"props":1159,"children":1160},{},[1161],{"type":70,"value":771},{"type":65,"tag":635,"props":1163,"children":1164},{},[1165,1174,1189,1202,1215,1229,1242,1255],{"type":65,"tag":705,"props":1166,"children":1167},{},[1168],{"type":65,"tag":85,"props":1169,"children":1171},{"className":1170},[],[1172],{"type":70,"value":1173},"websocket.protocol",{"type":65,"tag":705,"props":1175,"children":1176},{},[1177,1178],{"type":70,"value":776},{"type":65,"tag":778,"props":1179,"children":1180},{},[1181],{"type":65,"tag":97,"props":1182,"children":1186},{"href":1183,"ariaDescribedBy":1184,"dataFootnoteRef":59,"id":1185},"#user-content-fn-5",[785],"user-content-fnref-5",[1187],{"type":70,"value":1188},"6",{"type":65,"tag":705,"props":1190,"children":1191},{},[1192,1193],{"type":70,"value":776},{"type":65,"tag":778,"props":1194,"children":1195},{},[1196],{"type":65,"tag":97,"props":1197,"children":1200},{"href":1183,"ariaDescribedBy":1198,"dataFootnoteRef":59,"id":1199},[785],"user-content-fnref-5-2",[1201],{"type":70,"value":1188},{"type":65,"tag":705,"props":1203,"children":1204},{},[1205,1206],{"type":70,"value":776},{"type":65,"tag":778,"props":1207,"children":1208},{},[1209],{"type":65,"tag":97,"props":1210,"children":1213},{"href":1183,"ariaDescribedBy":1211,"dataFootnoteRef":59,"id":1212},[785],"user-content-fnref-5-3",[1214],{"type":70,"value":1188},{"type":65,"tag":705,"props":1216,"children":1217},{},[1218,1227],{"type":65,"tag":778,"props":1219,"children":1220},{},[1221],{"type":65,"tag":97,"props":1222,"children":1225},{"href":1183,"ariaDescribedBy":1223,"dataFootnoteRef":59,"id":1224},[785],"user-content-fnref-5-4",[1226],{"type":70,"value":1188},{"type":70,"value":1228}," ✓",{"type":65,"tag":705,"props":1230,"children":1231},{},[1232,1233],{"type":70,"value":776},{"type":65,"tag":778,"props":1234,"children":1235},{},[1236],{"type":65,"tag":97,"props":1237,"children":1240},{"href":1183,"ariaDescribedBy":1238,"dataFootnoteRef":59,"id":1239},[785],"user-content-fnref-5-5",[1241],{"type":70,"value":1188},{"type":65,"tag":705,"props":1243,"children":1244},{},[1245,1246],{"type":70,"value":776},{"type":65,"tag":778,"props":1247,"children":1248},{},[1249],{"type":65,"tag":97,"props":1250,"children":1253},{"href":1183,"ariaDescribedBy":1251,"dataFootnoteRef":59,"id":1252},[785],"user-content-fnref-5-6",[1254],{"type":70,"value":1188},{"type":65,"tag":705,"props":1256,"children":1257},{},[1258],{"type":70,"value":771},{"type":65,"tag":635,"props":1260,"children":1261},{},[1262,1271,1275,1279,1283,1287,1291,1306],{"type":65,"tag":705,"props":1263,"children":1264},{},[1265],{"type":65,"tag":85,"props":1266,"children":1268},{"className":1267},[],[1269],{"type":70,"value":1270},"websocket.readyState",{"type":65,"tag":705,"props":1272,"children":1273},{},[1274],{"type":70,"value":718},{"type":65,"tag":705,"props":1276,"children":1277},{},[1278],{"type":70,"value":718},{"type":65,"tag":705,"props":1280,"children":1281},{},[1282],{"type":70,"value":718},{"type":65,"tag":705,"props":1284,"children":1285},{},[1286],{"type":70,"value":718},{"type":65,"tag":705,"props":1288,"children":1289},{},[1290],{"type":70,"value":718},{"type":65,"tag":705,"props":1292,"children":1293},{},[1294,1295],{"type":70,"value":776},{"type":65,"tag":778,"props":1296,"children":1297},{},[1298],{"type":65,"tag":97,"props":1299,"children":1303},{"href":1300,"ariaDescribedBy":1301,"dataFootnoteRef":59,"id":1302},"#user-content-fn-6",[785],"user-content-fnref-6",[1304],{"type":70,"value":1305},"7",{"type":65,"tag":705,"props":1307,"children":1308},{},[1309,1310],{"type":70,"value":776},{"type":65,"tag":778,"props":1311,"children":1312},{},[1313],{"type":65,"tag":97,"props":1314,"children":1317},{"href":1300,"ariaDescribedBy":1315,"dataFootnoteRef":59,"id":1316},[785],"user-content-fnref-6-2",[1318],{"type":70,"value":1305},{"type":65,"tag":635,"props":1320,"children":1321},{},[1322,1331,1346,1350,1354,1358,1371,1375],{"type":65,"tag":705,"props":1323,"children":1324},{},[1325],{"type":65,"tag":85,"props":1326,"children":1328},{"className":1327},[],[1329],{"type":70,"value":1330},"websocket.binaryType",{"type":65,"tag":705,"props":1332,"children":1333},{},[1334,1335],{"type":70,"value":776},{"type":65,"tag":778,"props":1336,"children":1337},{},[1338],{"type":65,"tag":97,"props":1339,"children":1343},{"href":1340,"ariaDescribedBy":1341,"dataFootnoteRef":59,"id":1342},"#user-content-fn-7",[785],"user-content-fnref-7",[1344],{"type":70,"value":1345},"8",{"type":65,"tag":705,"props":1347,"children":1348},{},[1349],{"type":70,"value":771},{"type":65,"tag":705,"props":1351,"children":1352},{},[1353],{"type":70,"value":771},{"type":65,"tag":705,"props":1355,"children":1356},{},[1357],{"type":70,"value":718},{"type":65,"tag":705,"props":1359,"children":1360},{},[1361,1362],{"type":70,"value":776},{"type":65,"tag":778,"props":1363,"children":1364},{},[1365],{"type":65,"tag":97,"props":1366,"children":1369},{"href":1340,"ariaDescribedBy":1367,"dataFootnoteRef":59,"id":1368},[785],"user-content-fnref-7-2",[1370],{"type":70,"value":1345},{"type":65,"tag":705,"props":1372,"children":1373},{},[1374],{"type":70,"value":718},{"type":65,"tag":705,"props":1376,"children":1377},{},[1378],{"type":70,"value":771},{"type":65,"tag":635,"props":1380,"children":1381},{},[1382,1391,1395,1399,1403,1407,1411,1415],{"type":65,"tag":705,"props":1383,"children":1384},{},[1385],{"type":65,"tag":85,"props":1386,"children":1388},{"className":1387},[],[1389],{"type":70,"value":1390},"websocket.bufferedAmount",{"type":65,"tag":705,"props":1392,"children":1393},{},[1394],{"type":70,"value":771},{"type":65,"tag":705,"props":1396,"children":1397},{},[1398],{"type":70,"value":771},{"type":65,"tag":705,"props":1400,"children":1401},{},[1402],{"type":70,"value":771},{"type":65,"tag":705,"props":1404,"children":1405},{},[1406],{"type":70,"value":718},{"type":65,"tag":705,"props":1408,"children":1409},{},[1410],{"type":70,"value":718},{"type":65,"tag":705,"props":1412,"children":1413},{},[1414],{"type":70,"value":718},{"type":65,"tag":705,"props":1416,"children":1417},{},[1418],{"type":70,"value":771},{"type":65,"tag":1420,"props":1421,"children":1424},"section",{"className":1422,"dataFootnotes":59},[1423],"footnotes",[1425,1432],{"type":65,"tag":73,"props":1426,"children":1429},{"className":1427,"id":785},[1428],"sr-only",[1430],{"type":70,"value":1431},"Footnotes",{"type":65,"tag":1433,"props":1434,"children":1435},"ol",{},[1436,1488,1518,1546,1594,1666,1759,1794],{"type":65,"tag":507,"props":1437,"children":1439},{"id":1438},"user-content-fn-1",[1440,1442,1451,1453,1464,1465,1476,1477],{"type":70,"value":1441},"pubsub is not natively handled by runtime. peers are internally tracked. ",{"type":65,"tag":97,"props":1443,"children":1448},{"href":1444,"ariaLabel":1445,"className":1446,"dataFootnoteBackref":59},"#user-content-fnref-1","Back to reference 1",[1447],"data-footnote-backref",[1449],{"type":70,"value":1450},"↩",{"type":70,"value":1452}," ",{"type":65,"tag":97,"props":1454,"children":1458},{"href":1455,"ariaLabel":1456,"className":1457,"dataFootnoteBackref":59},"#user-content-fnref-1-2","Back to reference 1-2",[1447],[1459,1460],{"type":70,"value":1450},{"type":65,"tag":778,"props":1461,"children":1462},{},[1463],{"type":70,"value":903},{"type":70,"value":1452},{"type":65,"tag":97,"props":1466,"children":1470},{"href":1467,"ariaLabel":1468,"className":1469,"dataFootnoteBackref":59},"#user-content-fnref-1-3","Back to reference 1-3",[1447],[1471,1472],{"type":70,"value":1450},{"type":65,"tag":778,"props":1473,"children":1474},{},[1475],{"type":70,"value":967},{"type":70,"value":1452},{"type":65,"tag":97,"props":1478,"children":1482},{"href":1479,"ariaLabel":1480,"className":1481,"dataFootnoteBackref":59},"#user-content-fnref-1-4","Back to reference 1-4",[1447],[1483,1484],{"type":70,"value":1450},{"type":65,"tag":778,"props":1485,"children":1486},{},[1487],{"type":70,"value":986},{"type":65,"tag":507,"props":1489,"children":1491},{"id":1490},"user-content-fn-2",[1492,1497,1499,1506,1507],{"type":65,"tag":85,"props":1493,"children":1495},{"className":1494},[],[1496],{"type":70,"value":844},{"type":70,"value":1498}," will be used for compatibility. ",{"type":65,"tag":97,"props":1500,"children":1504},{"href":1501,"ariaLabel":1502,"className":1503,"dataFootnoteBackref":59},"#user-content-fnref-2","Back to reference 2",[1447],[1505],{"type":70,"value":1450},{"type":70,"value":1452},{"type":65,"tag":97,"props":1508,"children":1512},{"href":1509,"ariaLabel":1510,"className":1511,"dataFootnoteBackref":59},"#user-content-fnref-2-2","Back to reference 2-2",[1447],[1513,1514],{"type":70,"value":1450},{"type":65,"tag":778,"props":1515,"children":1516},{},[1517],{"type":70,"value":903},{"type":65,"tag":507,"props":1519,"children":1521},{"id":1520},"user-content-fn-30",[1522,1524,1530,1532,1537,1539],{"type":70,"value":1523},"After durable object's hibernation, only ",{"type":65,"tag":85,"props":1525,"children":1527},{"className":1526},[],[1528],{"type":70,"value":1529},"request.url",{"type":70,"value":1531}," (and ",{"type":65,"tag":85,"props":1533,"children":1535},{"className":1534},[],[1536],{"type":70,"value":90},{"type":70,"value":1538},") remain available due to 2048 byte in-memory state limit. ",{"type":65,"tag":97,"props":1540,"children":1544},{"href":1541,"ariaLabel":1542,"className":1543,"dataFootnoteBackref":59},"#user-content-fnref-30","Back to reference 3",[1447],[1545],{"type":70,"value":1450},{"type":65,"tag":507,"props":1547,"children":1549},{"id":1548},"user-content-fn-31",[1550,1552,1557,1559,1565,1567,1573,1575,1582,1583],{"type":70,"value":1551},"using a proxy for ",{"type":65,"tag":97,"props":1553,"children":1555},{"href":133,"rel":1554},[101],[1556],{"type":70,"value":137},{"type":70,"value":1558}," compatible interface (",{"type":65,"tag":85,"props":1560,"children":1562},{"className":1561},[],[1563],{"type":70,"value":1564},"url",{"type":70,"value":1566},", ",{"type":65,"tag":85,"props":1568,"children":1570},{"className":1569},[],[1571],{"type":70,"value":1572},"headers",{"type":70,"value":1574}," only) wrapping Node.js requests. ",{"type":65,"tag":97,"props":1576,"children":1580},{"href":1577,"ariaLabel":1578,"className":1579,"dataFootnoteBackref":59},"#user-content-fnref-31","Back to reference 4",[1447],[1581],{"type":70,"value":1450},{"type":70,"value":1452},{"type":65,"tag":97,"props":1584,"children":1588},{"href":1585,"ariaLabel":1586,"className":1587,"dataFootnoteBackref":59},"#user-content-fnref-31-2","Back to reference 4-2",[1447],[1589,1590],{"type":70,"value":1450},{"type":65,"tag":778,"props":1591,"children":1592},{},[1593],{"type":70,"value":903},{"type":65,"tag":507,"props":1595,"children":1597},{"id":1596},"user-content-fn-4",[1598,1608,1610,1621,1623,1630,1631,1642,1643,1654,1655],{"type":65,"tag":97,"props":1599,"children":1602},{"href":1600,"rel":1601},"https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/extensions",[101],[1603],{"type":65,"tag":85,"props":1604,"children":1606},{"className":1605},[],[1607],{"type":70,"value":1095},{"type":70,"value":1609}," is polyfilled using ",{"type":65,"tag":97,"props":1611,"children":1614},{"href":1612,"rel":1613},"https://developer.mozilla.org/en-US/docs/Web/HTTP/Protocol_upgrade_mechanism#websocket-specific_headers",[101],[1615],{"type":65,"tag":85,"props":1616,"children":1618},{"className":1617},[],[1619],{"type":70,"value":1620},"sec-websocket-extensions",{"type":70,"value":1622}," request header. ",{"type":65,"tag":97,"props":1624,"children":1628},{"href":1625,"ariaLabel":1626,"className":1627,"dataFootnoteBackref":59},"#user-content-fnref-4","Back to reference 5",[1447],[1629],{"type":70,"value":1450},{"type":70,"value":1452},{"type":65,"tag":97,"props":1632,"children":1636},{"href":1633,"ariaLabel":1634,"className":1635,"dataFootnoteBackref":59},"#user-content-fnref-4-2","Back to reference 5-2",[1447],[1637,1638],{"type":70,"value":1450},{"type":65,"tag":778,"props":1639,"children":1640},{},[1641],{"type":70,"value":903},{"type":70,"value":1452},{"type":65,"tag":97,"props":1644,"children":1648},{"href":1645,"ariaLabel":1646,"className":1647,"dataFootnoteBackref":59},"#user-content-fnref-4-3","Back to reference 5-3",[1447],[1649,1650],{"type":70,"value":1450},{"type":65,"tag":778,"props":1651,"children":1652},{},[1653],{"type":70,"value":967},{"type":70,"value":1452},{"type":65,"tag":97,"props":1656,"children":1660},{"href":1657,"ariaLabel":1658,"className":1659,"dataFootnoteBackref":59},"#user-content-fnref-4-4","Back to reference 5-4",[1447],[1661,1662],{"type":70,"value":1450},{"type":65,"tag":778,"props":1663,"children":1664},{},[1665],{"type":70,"value":986},{"type":65,"tag":507,"props":1667,"children":1669},{"id":1668},"user-content-fn-5",[1670,1680,1681,1691,1692,1699,1700,1711,1712,1723,1724,1735,1736,1747,1748],{"type":65,"tag":97,"props":1671,"children":1674},{"href":1672,"rel":1673},"https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/protocol",[101],[1675],{"type":65,"tag":85,"props":1676,"children":1678},{"className":1677},[],[1679],{"type":70,"value":1173},{"type":70,"value":1609},{"type":65,"tag":97,"props":1682,"children":1684},{"href":1612,"rel":1683},[101],[1685],{"type":65,"tag":85,"props":1686,"children":1688},{"className":1687},[],[1689],{"type":70,"value":1690},"sec-websocket-protocol",{"type":70,"value":1622},{"type":65,"tag":97,"props":1693,"children":1697},{"href":1694,"ariaLabel":1695,"className":1696,"dataFootnoteBackref":59},"#user-content-fnref-5","Back to reference 6",[1447],[1698],{"type":70,"value":1450},{"type":70,"value":1452},{"type":65,"tag":97,"props":1701,"children":1705},{"href":1702,"ariaLabel":1703,"className":1704,"dataFootnoteBackref":59},"#user-content-fnref-5-2","Back to reference 6-2",[1447],[1706,1707],{"type":70,"value":1450},{"type":65,"tag":778,"props":1708,"children":1709},{},[1710],{"type":70,"value":903},{"type":70,"value":1452},{"type":65,"tag":97,"props":1713,"children":1717},{"href":1714,"ariaLabel":1715,"className":1716,"dataFootnoteBackref":59},"#user-content-fnref-5-3","Back to reference 6-3",[1447],[1718,1719],{"type":70,"value":1450},{"type":65,"tag":778,"props":1720,"children":1721},{},[1722],{"type":70,"value":967},{"type":70,"value":1452},{"type":65,"tag":97,"props":1725,"children":1729},{"href":1726,"ariaLabel":1727,"className":1728,"dataFootnoteBackref":59},"#user-content-fnref-5-4","Back to reference 6-4",[1447],[1730,1731],{"type":70,"value":1450},{"type":65,"tag":778,"props":1732,"children":1733},{},[1734],{"type":70,"value":986},{"type":70,"value":1452},{"type":65,"tag":97,"props":1737,"children":1741},{"href":1738,"ariaLabel":1739,"className":1740,"dataFootnoteBackref":59},"#user-content-fnref-5-5","Back to reference 6-5",[1447],[1742,1743],{"type":70,"value":1450},{"type":65,"tag":778,"props":1744,"children":1745},{},[1746],{"type":70,"value":1110},{"type":70,"value":1452},{"type":65,"tag":97,"props":1749,"children":1753},{"href":1750,"ariaLabel":1751,"className":1752,"dataFootnoteBackref":59},"#user-content-fnref-5-6","Back to reference 6-6",[1447],[1754,1755],{"type":70,"value":1450},{"type":65,"tag":778,"props":1756,"children":1757},{},[1758],{"type":70,"value":1188},{"type":65,"tag":507,"props":1760,"children":1762},{"id":1761},"user-content-fn-6",[1763,1773,1775,1782,1783],{"type":65,"tag":97,"props":1764,"children":1767},{"href":1765,"rel":1766},"https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/readyState",[101],[1768],{"type":65,"tag":85,"props":1769,"children":1771},{"className":1770},[],[1772],{"type":70,"value":1270},{"type":70,"value":1774}," is polyfilled by tracking open/close events. ",{"type":65,"tag":97,"props":1776,"children":1780},{"href":1777,"ariaLabel":1778,"className":1779,"dataFootnoteBackref":59},"#user-content-fnref-6","Back to reference 7",[1447],[1781],{"type":70,"value":1450},{"type":70,"value":1452},{"type":65,"tag":97,"props":1784,"children":1788},{"href":1785,"ariaLabel":1786,"className":1787,"dataFootnoteBackref":59},"#user-content-fnref-6-2","Back to reference 7-2",[1447],[1789,1790],{"type":70,"value":1450},{"type":65,"tag":778,"props":1791,"children":1792},{},[1793],{"type":70,"value":903},{"type":65,"tag":507,"props":1795,"children":1797},{"id":1796},"user-content-fn-7",[1798,1800,1806,1808,1814,1816,1826,1828,1835,1836],{"type":70,"value":1799},"Some runtimes have non standard values including ",{"type":65,"tag":85,"props":1801,"children":1803},{"className":1802},[],[1804],{"type":70,"value":1805},"\"nodebuffer\"",{"type":70,"value":1807}," and ",{"type":65,"tag":85,"props":1809,"children":1811},{"className":1810},[],[1812],{"type":70,"value":1813},"\"uint8array\"",{"type":70,"value":1815},". crossws auto converts them for ",{"type":65,"tag":97,"props":1817,"children":1819},{"href":1818},"/guide/message#messagedata",[1820],{"type":65,"tag":85,"props":1821,"children":1823},{"className":1822},[],[1824],{"type":70,"value":1825},"message.data",{"type":70,"value":1827},". ",{"type":65,"tag":97,"props":1829,"children":1833},{"href":1830,"ariaLabel":1831,"className":1832,"dataFootnoteBackref":59},"#user-content-fnref-7","Back to reference 8",[1447],[1834],{"type":70,"value":1450},{"type":70,"value":1452},{"type":65,"tag":97,"props":1837,"children":1841},{"href":1838,"ariaLabel":1839,"className":1840,"dataFootnoteBackref":59},"#user-content-fnref-7-2","Back to reference 8-2",[1447],[1842,1843],{"type":70,"value":1450},{"type":65,"tag":778,"props":1844,"children":1845},{},[1846],{"type":70,"value":903},{"type":65,"tag":1848,"props":1849,"children":1850},"style",{},[1851],{"type":70,"value":1852},"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":59,"searchDepth":303,"depth":303,"links":1854},[1855,1864,1872,1873],{"id":75,"depth":303,"text":78,"children":1856},[1857,1858,1859,1860,1861,1862,1863],{"id":82,"depth":322,"text":90},{"id":109,"depth":322,"text":116},{"id":150,"depth":322,"text":157},{"id":178,"depth":322,"text":185},{"id":226,"depth":322,"text":233},{"id":378,"depth":322,"text":385},{"id":393,"depth":322,"text":400},{"id":408,"depth":303,"text":411,"children":1865},[1866,1867,1868,1869,1870,1871],{"id":414,"depth":322,"text":421},{"id":429,"depth":322,"text":436},{"id":448,"depth":322,"text":455},{"id":466,"depth":322,"text":473},{"id":484,"depth":322,"text":491},{"id":596,"depth":322,"text":591},{"id":622,"depth":303,"text":625},{"id":785,"depth":303,"text":1431},"markdown","content:1.guide:3.peer.md","content","1.guide/3.peer.md","1.guide/3.peer","md",[1881,1883],{"_path":12,"title":11,"description":1882},"Using hooks, you can define a WebSocket server that works across runtimes with the same syntax.",{"_path":20,"title":19,"description":59},1747869084963]