-
Notifications
You must be signed in to change notification settings - Fork 25
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
How to use webtransport.node binary? #188
Comments
It will be used automatically by the node code. Just use the provided js interfaces. There is no stable API and you should not call it directly. |
I'll try to use with |
The problem is that each of these libraries have a different C/JS interface, so I think it is more or less impossible. |
But here is a tracking bug for deno |
Yes, I know. Not impossible. I wrote Native Messaging hosts for QuickJS, txiki.js, Bun, Deno, and Node.js https://github.com/guest271314/NativeMessagingHosts; Mozilla's I downloaded the git repository and used |
You mean for the binary part? |
|
No, I mean for the Node.js usage. How do I get this working as a server? I.e., run the tests once I have either used |
We should be able to call C++ quiche souce code in C https://github.com/guest271314/webserver-c/blob/quickjs-webserver/webserver.c. |
What has WebSocketStream to do with webtransport? |
Use the echoserver.js in test as example how to use it. Beside this npm should handle all the downloading for you. |
I'm trying to implement full duplex streaming. I tested
Node.js does not support Ecmascript
|
It is merely an example code, so just copy it and add a package.json. |
I ran
It would be helpful to create a complete example connecting from the browser. I'll keep testing. |
LWell I do not have the time for a complete test example. Also the hardest part is generating the certificates. But the plugin works as I use it already in production. |
I have generated the certificate and key using this https://github.com/GoogleChrome/samples/blob/2bb27d915e3cbfe5ba4fc80fe4922baca16db703/webtransport/webtransport_server.py#L49-L72 when I experimented with aioquic. Did something change in WebTransport that would not allow the certificate and key generated from that to be passed to your library? Just checked that sample code and it is broken now with this error message
I'll keep trying on my own. If you find the time kindly create a minimal, complete, working example. |
No description provided.
The text was updated successfully, but these errors were encountered: