Skip to content

rgrempel/elm-http-decorators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm-http-decorators

This package provides some useful types and functions which work with elm-lang/http

For new projects, I would recommend using lukewestby/elm-http-builder instead of this package. It is capable of doing everything this package does, and more.

Transparent Requests

The Request type in the Http module is opaque, in the sense that once you have a Request, you cannot extract its parts in order to construct a different Request.

Thus, we supply a RawRequest type (and associated functions) as a workaround, allowing you to work with the parts of a request.

Cache Busting

We also provide some functions for adding a cache-busting parameter to a RawRequest.