Skip to content

Expose NetworkStream+Send to the server #521

Closed
@lightningdev45

Description

@lightningdev45

I need access to the downcast methods on NetworkStream+Send on the server in order to gain access to a TcpStream object. This will allow me to implement an iron middleware to upgrade connections to websocket connections, following the work already done in rust-websockets.

Iron currently only has access to a NetworkStream which is obtained by calling "deconstruct" on the request object provided by hyper.

Metadata

Metadata

Assignees

Labels

A-serverArea: server.E-easyEffort: easy. A task that would be a great starting point for a new contributor.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions