Skip to content

Conversation

@astro
Copy link
Contributor

@astro astro commented Dec 12, 2014

Silly me, always trying to expose internals as public API. :-)

This is ultimately what I need for embedding the tracker into web servers. I added an example for illustration.

feross added a commit that referenced this pull request Dec 13, 2014
onHttpRequest() as part of the public API
@feross feross merged commit ed0dad4 into master Dec 13, 2014
@feross
Copy link
Member

feross commented Dec 13, 2014

Should we also expose onUdpRequest for parity?

@astro
Copy link
Contributor Author

astro commented Dec 13, 2014

Potential use-case I could think of for onUdpRequest: receiving all the UDP protos (Tracker, UTP, DHT) on a single socket, making port forwarding configuration easier. :-)

astro added a commit that referenced this pull request Dec 13, 2014
@feross feross deleted the public-onHttpRequest branch March 24, 2016 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants