concept HTTP.fs in category f#

appears as: HTTP.fs
Get Programming with F#: A guide for .NET developers

This is an excerpt from Manning's book Get Programming with F#: A guide for .NET developers.

Listing 38.4. Mapping an HTTP composition pipeline in HTTP.fs
createRequest Get "http://host/api/animals" |> withCookie { name = "Foo"; value = "Bar" } |> withHeader (ContentType "test/json") |> withKeepAlive true |> getResponse

38.2. Working with HTTP.fs

HTTP.fs is a small, general-purpose NuGet package for working with data over HTTP, and enables close control over both creating requests and processing responses.