Skip to content

Add an ability to control response HTTP headers from within json-rpc method handlers#58

Open
mvasl wants to merge 1 commit intosemrush:masterfrom
mvasl:feature/response-headers
Open

Add an ability to control response HTTP headers from within json-rpc method handlers#58
mvasl wants to merge 1 commit intosemrush:masterfrom
mvasl:feature/response-headers

Conversation

@mvasl
Copy link

@mvasl mvasl commented Jun 15, 2024

No description provided.

@mvasl
Copy link
Author

mvasl commented Jun 18, 2024

@dizzyfool could you take a look please?

@mvasl
Copy link
Author

mvasl commented Jun 30, 2024

@sergeyfast?

@sergeyfast
Copy link
Contributor

@mvasl i'm no longer maintain this project. We've moved to this version https://github.com/vmkteam/zenrpc/
HTTP headers should be like in spec https://www.simple-is-better.org/json-rpc/transport_http.html
But you can build your own ServeHTTP method, e.g. https://github.com/vmkteam/brokersrv/blob/master/pkg/rpcqueue/rpcqueue.go#L98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants