@@ -109,138 +109,138 @@ get
109 :: forall @a result headers ctx err
109 :: forall @a result headers ctx err
110 . DecodeResponse a result
110 . DecodeResponse a result
111 => Homogeneous headers String
111 => Homogeneous headers String
112− => Record headers
113+ -> Record headers
114 -> Om ctx (fetchError :: FetchError | err) result
114 -> Om ctx (fetchError :: FetchError | err) result
115−get headers url = _.body <$> simpleFetch @a GET headers url Nothing
115+get url headers = _.body <$> simpleFetch @a GET headers url Nothing
117getWithHeaders
117getWithHeaders
118 :: forall @a result headers ctx err
118 :: forall @a result headers ctx err
119 . DecodeResponse a result
119 . DecodeResponse a result
120 => Homogeneous headers String
120 => Homogeneous headers String
121− => Record headers
122+ -> Record headers
123 -> Om ctx (fetchError :: FetchError | err) (FetchResponse result)
123 -> Om ctx (fetchError :: FetchError | err) (FetchResponse result)
124−getWithHeaders headers url = simpleFetch @a GET headers url Nothing
124+getWithHeaders url headers = simpleFetch @a GET headers url Nothing
127 :: forall @a result headers ctx err
127 :: forall @a result headers ctx err
128 . DecodeResponse a result
128 . DecodeResponse a result
129 => Homogeneous headers String
129 => Homogeneous headers String
130− => Record headers
131+ -> Record headers
132 -> Om ctx (fetchError :: FetchError | err) result
132 -> Om ctx (fetchError :: FetchError | err) result
133−delete headers url = _.body <$> simpleFetch @a DELETE headers url Nothing
133+delete url headers = _.body <$> simpleFetch @a DELETE headers url Nothing
135deleteWithHeaders
135deleteWithHeaders
136 :: forall @a result headers ctx err
136 :: forall @a result headers ctx err
137 . DecodeResponse a result
137 . DecodeResponse a result
138 => Homogeneous headers String
138 => Homogeneous headers String
139− => Record headers
140+ -> Record headers
141 -> Om ctx (fetchError :: FetchError | err) (FetchResponse result)
141 -> Om ctx (fetchError :: FetchError | err) (FetchResponse result)
142−deleteWithHeaders headers url = simpleFetch @a DELETE headers url Nothing
142+deleteWithHeaders url headers = simpleFetch @a DELETE headers url Nothing
145 :: forall headers ctx err
145 :: forall headers ctx err
146 . Homogeneous headers String
146 . Homogeneous headers String
147− => Record headers
148+ -> Record headers
149 -> Om ctx (fetchError :: FetchError | err) Unit
149 -> Om ctx (fetchError :: FetchError | err) Unit
150−delete_ headers url = void $ simpleFetch @PlainTextResponse DELETE headers url Nothing
150+delete_ url headers = void $ simpleFetch @PlainTextResponse DELETE headers url Nothing
153 :: forall @a result headers body ctx err
153 :: forall @a result headers body ctx err
154 . DecodeResponse a result
154 . DecodeResponse a result
155 => Homogeneous headers String
155 => Homogeneous headers String
156 => WriteForeign body
156 => WriteForeign body
157− => Record headers
158+ -> Record headers
160 -> Om ctx (fetchError :: FetchError | err) result
160 -> Om ctx (fetchError :: FetchError | err) result
161−post headers url body = _.body <$> simpleFetch @a POST headers url (Just (writeJSON body))
161+post url headers body = _.body <$> simpleFetch @a POST headers url (Just (writeJSON body))
163postWithHeaders
163postWithHeaders
164 :: forall @a result headers body ctx err
164 :: forall @a result headers body ctx err
165 . DecodeResponse a result
165 . DecodeResponse a result
166 => Homogeneous headers String
166 => Homogeneous headers String
167 => WriteForeign body
167 => WriteForeign body
168− => Record headers
169+ -> Record headers
171 -> Om ctx (fetchError :: FetchError | err) (FetchResponse result)
171 -> Om ctx (fetchError :: FetchError | err) (FetchResponse result)
172−postWithHeaders headers url body = simpleFetch @a POST headers url (Just (writeJSON body))
172+postWithHeaders url headers body = simpleFetch @a POST headers url (Just (writeJSON body))
175 :: forall headers body ctx err
175 :: forall headers body ctx err
176 . Homogeneous headers String
176 . Homogeneous headers String
177 => WriteForeign body
177 => WriteForeign body
178− => Record headers
179+ -> Record headers
181 -> Om ctx (fetchError :: FetchError | err) Unit
181 -> Om ctx (fetchError :: FetchError | err) Unit
182−post_ headers url body = void $ simpleFetch @PlainTextResponse POST headers url (Just (writeJSON body))
182+post_ url headers body = void $ simpleFetch @PlainTextResponse POST headers url (Just (writeJSON body))
185 :: forall @a result headers body ctx err
185 :: forall @a result headers body ctx err
186 . DecodeResponse a result
186 . DecodeResponse a result
187 => Homogeneous headers String
187 => Homogeneous headers String
188 => WriteForeign body
188 => WriteForeign body
189− => Record headers
190+ -> Record headers
192 -> Om ctx (fetchError :: FetchError | err) result
192 -> Om ctx (fetchError :: FetchError | err) result
193−put headers url body = _.body <$> simpleFetch @a PUT headers url (Just (writeJSON body))
193+put url headers body = _.body <$> simpleFetch @a PUT headers url (Just (writeJSON body))
195putWithHeaders
195putWithHeaders
196 :: forall @a result headers body ctx err
196 :: forall @a result headers body ctx err
197 . DecodeResponse a result
197 . DecodeResponse a result
198 => Homogeneous headers String
198 => Homogeneous headers String
199 => WriteForeign body
199 => WriteForeign body
200− => Record headers
201+ -> Record headers
203 -> Om ctx (fetchError :: FetchError | err) (FetchResponse result)
203 -> Om ctx (fetchError :: FetchError | err) (FetchResponse result)
204−putWithHeaders headers url body = simpleFetch @a PUT headers url (Just (writeJSON body))
204+putWithHeaders url headers body = simpleFetch @a PUT headers url (Just (writeJSON body))
207 :: forall headers body ctx err
207 :: forall headers body ctx err
208 . Homogeneous headers String
208 . Homogeneous headers String
209 => WriteForeign body
209 => WriteForeign body
210− => Record headers
211+ -> Record headers
213 -> Om ctx (fetchError :: FetchError | err) Unit
213 -> Om ctx (fetchError :: FetchError | err) Unit
214−put_ headers url body = void $ simpleFetch @PlainTextResponse PUT headers url (Just (writeJSON body))
214+put_ url headers body = void $ simpleFetch @PlainTextResponse PUT headers url (Just (writeJSON body))
217 :: forall @a result headers body ctx err
217 :: forall @a result headers body ctx err
218 . DecodeResponse a result
218 . DecodeResponse a result
219 => Homogeneous headers String
219 => Homogeneous headers String
220 => WriteForeign body
220 => WriteForeign body
221− => Record headers
222+ -> Record headers
224 -> Om ctx (fetchError :: FetchError | err) result
224 -> Om ctx (fetchError :: FetchError | err) result
225−patch headers url body = _.body <$> simpleFetch @a PATCH headers url (Just (writeJSON body))
225+patch url headers body = _.body <$> simpleFetch @a PATCH headers url (Just (writeJSON body))
227patchWithHeaders
227patchWithHeaders
228 :: forall @a result headers body ctx err
228 :: forall @a result headers body ctx err
229 . DecodeResponse a result
229 . DecodeResponse a result
230 => Homogeneous headers String
230 => Homogeneous headers String
231 => WriteForeign body
231 => WriteForeign body
232− => Record headers
233+ -> Record headers
235 -> Om ctx (fetchError :: FetchError | err) (FetchResponse result)
235 -> Om ctx (fetchError :: FetchError | err) (FetchResponse result)
236−patchWithHeaders headers url body = simpleFetch @a PATCH headers url (Just (writeJSON body))
236+patchWithHeaders url headers body = simpleFetch @a PATCH headers url (Just (writeJSON body))
239 :: forall headers body ctx err
239 :: forall headers body ctx err
240 . Homogeneous headers String
240 . Homogeneous headers String
241 => WriteForeign body
241 => WriteForeign body
242− => Record headers
243+ -> Record headers
245 -> Om ctx (fetchError :: FetchError | err) Unit
245 -> Om ctx (fetchError :: FetchError | err) Unit
246−patch_ headers url body = void $ simpleFetch @PlainTextResponse PATCH headers url (Just (writeJSON body))
246+patch_ url headers body = void $ simpleFetch @PlainTextResponse PATCH headers url (Just (writeJSON body))