gorilla / rpc

Package gorilla/rpc is a golang foundation for RPC over HTTP services.
https://gorilla.github.io
BSD 3-Clause "New" or "Revised" License
590 stars 179 forks source link

expose a method to support CORS #74

Closed m3ngyang closed 5 years ago

m3ngyang commented 5 years ago

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is - e.g. "I'm always frustrated when [...]"

In some circumstance, we ask the server to allow CORS, but jsonrpc doesn't support it now.

Describe the solution you'd like

What would the feature look like? How would it work? How would it change the API?

Describe alternatives you've considered

Are there alternatives you've tried, and/or workarounds in-place?

elithrar commented 5 years ago

See comments in #75.