Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support JavaScript-native RPC #19

Open
1 task
naporin0624 opened this issue Apr 7, 2024 · 1 comment
Open
1 task

support JavaScript-native RPC #19

naporin0624 opened this issue Apr 7, 2024 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@naporin0624
Copy link
Member

https://blog.cloudflare.com/javascript-native-rpc

check

  • type-safe websocket client
@naporin0624
Copy link
Member Author

naporin0624 commented Apr 8, 2024

✘ [ERROR] DOMException {
workers:dev: 
workers:dev:     stack: 'Error: Could not serialize object of type "WebSocket". This type does not support
workers:dev:   serialization.\n' +
workers:dev:       '    at null.<anonymous> (async
workers:dev:   file://[masked]/index.js:9652:35)\n' +
workers:dev:       '    at async dispatch
workers:dev:   (file://[masked]/compose.js:29:17)\n' +
workers:dev:       '    at async dispatch
workers:dev:   (file://[masked]/compose.js:29:17)\n' +
workers:dev:       '    at async cors2
workers:dev:   (file://[masked]/cors/index.js:65:5)\n' +
workers:dev:       '    at async dispatch
workers:dev:   (file://[masked]/compose.js:29:17)\n' +
workers:dev:       '    at null.<anonymous> (async
workers:dev:   file://[masked]/index.js:1006:25)\n' +
workers:dev:       '    at async jsonError
workers:dev:   (file://[masked]/json-error.ts:22:10)\n' +
workers:dev:       '    at async drainBody
workers:dev:   (file://[masked]/middleware-ensure-req-body-drained.ts:5:10)',
workers:dev:     code: 25,
workers:dev:     name: 'DataCloneError',
workers:dev:     message: 'Could not serialize object of type "WebSocket". This type does not support
workers:dev:   serialization.'
workers:dev:   }

@naporin0624 naporin0624 self-assigned this Apr 15, 2024
@naporin0624 naporin0624 added the help wanted Extra attention is needed label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant