MPS icon indicating copy to clipboard operation
MPS copied to clipboard

http-support: expose netty fields

Open coolya opened this issue 3 years ago • 2 comments

Expose underlying netty fields with getters in HttpRequest. Sometimes the DSL and methods on HttpRequest are too limiting.

Use cases that require to set specific headers in the response field can not do that at the moment because for that access to the FullHttpResponse is required.

Use cases that want to implement a websocket handler can't do that because it requires access to the channel and HttpRequest to do the handshake.

This change exposes these filed and allows experienced users to implement http APIs similar to what is possible with plugins directly in intellij.

coolya avatar Jan 27 '22 19:01 coolya

Kolja, is there an issue in the tracker that describes this pull request?

artem-tikhomirov avatar Mar 09 '22 12:03 artem-tikhomirov

I think this is related issue https://youtrack.jetbrains.com/issue/MPS-34219

MariaLebedeva avatar Aug 03 '22 13:08 MariaLebedeva