Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The registerHttp function is not available in TypeScript runtime #1319

Open
robinmaree opened this issue Jan 27, 2025 · 1 comment
Open

The registerHttp function is not available in TypeScript runtime #1319

robinmaree opened this issue Jan 27, 2025 · 1 comment

Comments

@robinmaree
Copy link

For implementing a third-party integration that will call our Nakama instance for payment validation, we need the ability to send custom HTTP response codes (e.g., 204) and headers. However, RPCs do not currently support setting custom HTTP response codes or headers.

We noticed that the recently introduced registerHttp function could potentially solve this issue, but it doesn't appear to be available in the TypeScript runtime yet.

Is it possible to make the registerHttp function available in TypeScript, or is there another way to gain control over HTTP response codes and headers?

Copy link

linear bot commented Jan 27, 2025

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

No branches or pull requests

1 participant