on master help sign in
Add a couple missing @since notices
commitb1cff45e4762546021e78efc4d1f8cd2fb4629bc authormrkkrp <markkarpov@opmbx.org> dateSat 7 Jan 2017, 20:56 (10 years ago) parentc24a310
1 file changed+4
Network/HTTP/Req.hs+4
Network/HTTP/Req.hs+4
@@ -847,6 +847,8 @@ instance QueryParam FormUrlEncodedParam where
847847-- parts, then use 'reqBodyMultipart' to create actual request body from the
848848-- parts. 'reqBodyMultipart' is the only way to get a value of type
849849-- 'ReqBodyMultipart', as its constructor is not exported on purpose.
850+--
851+-- @since 0.2.0
850852
851853data ReqBodyMultipart = ReqBodyMultipart ByteString LI.RequestBody
852854
@@ -856,6 +858,8 @@ instance HttpBody ReqBodyMultipart where
856858 pure ("multipart/form-data; boundary=" <> boundary)
857859
858860-- | Create 'ReqBodyMultipart' request body from a collection of 'LM.Part's.
861+--
862+-- @since 0.2.0
859863
860864reqBodyMultipart :: MonadIO m => [LM.Part] -> m ReqBodyMultipart
861865reqBodyMultipart parts = liftIO $ do