hook.io icon indicating copy to clipboard operation
hook.io copied to clipboard

Add support for persistent outgoing connections

Open Marak opened this issue 10 years ago • 1 comments

Some services ( like irc or twitter ) require a persistent outgoing connection.

Generally, there should be a lock on this connection if it's going to be created in response to an HTTP request. Additional HTTP requests to the endpoint after connection should result in a streaming write / response.

We can't guarantee the connection will always be maintained, but it should stay alive most of the time and reconnect immediately on disconnects.

Marak avatar Aug 19 '15 06:08 Marak

Took a first attempt at this, but was not happy with the implementation.

I'm still not 100% certain I want to add this API feature, as it will significantly increase the complexity of the system.

Will keep the issue open for now.

Marak avatar Sep 13 '15 01:09 Marak