Skip to content
This repository was archived by the owner on Dec 7, 2018. It is now read-only.
This repository was archived by the owner on Dec 7, 2018. It is now read-only.

Support the Rack hijack API #2

@tarcieri

Description

@tarcieri

Rack has an API that allows the socket to be hijacked from the web server and managed directly by the Rack application itself:

rack/rack#481

This allows certain problematic restrictions of Rack, such as mandatory rewindable input, to be bypassed. This makes it useful for things like WebSockets, server sent events, and streaming HTTP requests/responses.

Reel::Rack could certainly benefit from this API! In fact, Reel already has support for hijacking the connection. All that needs to be done is wiring up one with the other:

https://github.com/celluloid/reel/blob/master/lib/reel/connection.rb#L149

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions