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

Add some nice methods #124

Open
haf opened this issue Mar 27, 2017 · 0 comments
Open

Add some nice methods #124

haf opened this issue Mar 27, 2017 · 0 comments

Comments

@haf
Copy link
Owner

haf commented Mar 27, 2017

module Request =
  open System
  let path resource (r: Request) =
    let ub = UriBuilder r.url
    ub.Path <- resource
    { r with url = ub.Uri }
  let resource resource r =
    path resource r

  let method m r =
    { r with ``method`` = m }
MNie added a commit to MNie/Http.fs that referenced this issue Apr 6, 2017
MNie added a commit to MNie/Http.fs that referenced this issue Apr 6, 2017
MNie added a commit to MNie/Http.fs that referenced this issue Apr 6, 2017
MNie added a commit to MNie/Http.fs that referenced this issue Apr 6, 2017
@MNie MNie mentioned this issue Apr 6, 2017
MNie added a commit to MNie/Http.fs that referenced this issue Apr 7, 2017
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

1 participant