Replies: 1 comment
-
|
Hi, as far as I'm aware the only possible way the do this is by implementing your own ServerApp as shown in this example to access the underlying Stream. I have a similar use case, and for now my only solution was to fork pingora, and reimplement a This only works for HTTP/1 afaik |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use
ProxyHttpto handle websocket upgrade requests, then let fastwebsockets to take the underlyingStreamand take over websocket traffic. I'm having a hard time figuring out how to own thatStream.ProxyHttpprovides a mut ref toSessionand how is it possible to take the ownership of theStreamin my code? I'm aware ofinto_innerinHttpSession(session.downstream_session), but I can't move it with only a ref toSession.Please suggest. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions