Comments (11)
Hey there,
Could you help me find the implementation for UDT in this repo?
from nodejs-httpp.
Or like which part of the code do I need to use only UDT in my nodejs code?
from nodejs-httpp.
UDT api is like Net module api, while UDTS api is like TLS api. check below link for detail
https://github.com/InstantWebP2P/nodejs-httpp/wiki/An-introduction-to-run-http-over-udp-with-node.js
The HTTPP to HTTP modules mapping is like below: net -> udt, http -> httpp, tls -> udts, https -> httpps.
from nodejs-httpp.
@sequoiar the first line
var udt = require('udt');
imports udt. my question is where is the implementation of this library?
from nodejs-httpp.
@amiiigh
check https://github.com/instantwebp2p/uvudt/tree/8d4f021d8042a82988472a9db43382fa28190d9d
UDT is an extension to libuv as uvudt
from nodejs-httpp.
Does HTTPP use the packet/stream mode of UDT or message mode?
Where can I find the parts of the code when HTTPP uses sending/receiving calls of UDT?
Thanks
from nodejs-httpp.
@NooshinEghbal HTTPP(http) is run UDT stream mode. if you want message mode, you can implement nodejs/diagram over UDT message mode.
from nodejs-httpp.
I looked into the wiki page and the HTTPP server/client example.
So, if I have a group of resources (e.g. font, image, css and JavaScript files) for a web page, how can I use HTTPP to measure the page load time?
And also how can I change the underlying protocol from UDT to KCP for HTTPP?
from nodejs-httpp.
@NooshinEghbal there is no httpp enabled web-browser so far. not sure httpp.client can help on it.
from nodejs-httpp.
What if I just want to send a group of files from httpp server to the client?
from nodejs-httpp.
@NooshinEghbal you can try httpp.get a file from httpp.server . you need assemble some basic HTTP message.
refer to
https://github.com/InstantWebP2P/nodejs-httpp/blob/v12.x-httpp/test/httpp/httpp-cln.js
from nodejs-httpp.
Related Issues (20)
- Unable to build on windows with VS 2013 HOT 6
- connect not emitting error event if host and port are wrong or not reachable HOT 3
- Use case for udt reversal proxy
- support device stream HOT 1
- port to nodejs mainline HOT 2
- Unable to build on windows HOT 1
- Is this being maintained? HOT 2
- meet 5G App
- Adapt to HTTP over QUIC over UDP HOT 1
- Adapt to HTTP over KCP over UDP
- ../src/udtstream_wrap.h:31:10: fatal error: 'uvudt.h' file not found HOT 2
- Migrate to node.js v18.x HOT 1
- httpp server hang on windows HOT 1
- Migrate to node.js v20.x
- Wiki example not working on Mac HOT 1
- use QUIC as httpp transport HOT 2
- Port to Android HOT 1
- compression on udt above udt builtin security
- reduce udt connect handshake time HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodejs-httpp.