Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

POST -> WebSocket forwarding service

NotificationsYou must be signed in to change notification settings

greymass/buoy-nodejs

Repository files navigation

POST -> WebSocket forwarder

Usage

  • POST to any data to/<uuid>
  • UPGRADE a WebSocket on/<uuid> to receive data

Headers

X-Buoy-Delivery will be set todelivered if the data was delivered directly to a listening socket, otherwisebuffered.

X-Buoy-Wait can be specified in number of seconds to wait for the data to be delivered to a listener, will return a408 if the data cannot be delivered within time limit. Will always haveX-Buoy-Delivery: delivered on a successful request.

X-Buoy-Soft-Wait can be specified in number of seconds to wait for the data to be delivered to a listener, will return a202 if the data cannot be delivered within time limit.

Run with docker

$ docker build ....<container id>$ docker run -d --name buoy <container id>

[8]ページ先頭

©2009-2025 Movatter.jp