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

Enumerate HTTP Method types #27

Open
ddaws opened this issue Dec 5, 2014 · 1 comment
Open

Enumerate HTTP Method types #27

ddaws opened this issue Dec 5, 2014 · 1 comment

Comments

@ddaws
Copy link
Collaborator

ddaws commented Dec 5, 2014

I would like to make this available because I don't trust my self not spell the method type wrong by accident. I intend to implement by creating an enumeration of the method types and adding a constructor that accepts the enum as a param and fallback on the string based constructor.

@DoWhileGeek
Copy link

imagine....
HTTP.Response resp = new HTTP.Response.get( "http://someurl.com/somewhere" );

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

No branches or pull requests

2 participants