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

New chi.RegisterMethod(method) to add support for custom HTTP methods #271

Merged
merged 1 commit into from
Oct 10, 2017

Conversation

pkieltyka
Copy link
Member

@pkieltyka pkieltyka commented Oct 10, 2017

Fixes #264 by allowing users to add support for methods. Check out _examples/custom-method

In addition, this PR removes native support for LINK and UNLINK http methods as they are extended methods. Please use chi.RegisterMethod("LINK") and chi.RegisterMethod("UNLINK") in an init function instead.

@pkieltyka pkieltyka merged commit d806569 into master Oct 10, 2017
@pkieltyka pkieltyka deleted the custom-method branch October 10, 2017 21:28
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.

1 participant