From 6f59399e2c99d14b9d8d13e8be5b47bf0c777e41 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Fri, 3 Jan 2020 13:29:54 -0800 Subject: [PATCH] Copy record into type alias for better docs. --- src/Pages/StaticHttp.elm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Pages/StaticHttp.elm b/src/Pages/StaticHttp.elm index 3a9d3d03..f75129dc 100644 --- a/src/Pages/StaticHttp.elm +++ b/src/Pages/StaticHttp.elm @@ -414,7 +414,11 @@ get url decoder = {-| The full details to perform a StaticHttp request. -} type alias RequestDetails = - HashRequest.Request + { url : String + , method : String + , headers : List ( String, String ) + , body : Maybe String + }