socketio / socket.io-website

Socket.IO website and blog
https://socket.io
318 stars 668 forks source link

Update server-api.md #428

Closed RockYou-cmd closed 9 months ago

RockYou-cmd commented 9 months ago

Moved the comma before the “options” argument in the server class constructor.

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
socket-io-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 26, 2023 2:34pm
darrachequesne commented 9 months ago

Hi! The options argument is optional:

We use the same syntax as the Node.js documentation (here for example).

What do you think?

RockYou-cmd commented 9 months ago

Yes, I just knew it, My bad.