Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
snap-core Snap.Internal.Http.Types No documentation available.
-
snap-core Snap.Internal.Http.Types No documentation available.
-
snap-core Snap.Internal.Http.Types No documentation available.
type
Params = Map ByteString [ByteString]snap-core Snap.Internal.Http.Types A type alias for the HTTP parameters mapping. Each parameter key maps to a list of ByteString values; if a parameter is specified multiple times (e.g.: "GET /foo?param=bar1¶m=bar2"), looking up "param" in the mapping will give you ["bar1", "bar2"].
-
No documentation available.
-
snap-core Snap.Util.FileUploads Represents the disposition type specified via the Content-Disposition header field. See RFC 1806.
type
PartFold a = PartInfo -> InputStream ByteString -> a -> IO asnap-core Snap.Util.FileUploads A type alias for a function that will process one of the parts of a multipart/form-data HTTP request body with accumulator.
-
snap-core Snap.Util.FileUploads PartInfo contains information about a "part" in a request uploaded with Content-type: multipart/form-data.
type
PartProcessor a = PartInfo -> InputStream ByteString -> IO asnap-core Snap.Util.FileUploads A type alias for a function that will process one of the parts of a multipart/form-data HTTP request body without usinc accumulator.
-
snap-core Snap.Util.FileUploads Upload policy can be set on an "general" basis (using UploadPolicy), but handlers can also make policy decisions on individual files/parts uploaded. For each part uploaded, handlers can decide:
- whether to allow the file upload at all
- the maximum size of uploaded files, if allowed