Package1.0.5.1WebSnapIO-Streams
snap-core
Snap: A Haskell Web Framework (core interfaces and types)
- Version1.0.5.1
- CategoryWeb, Snap, IO-Streams
- LicenceBSD-3-Clause
- AuthorSnap Framework Authors (see CONTRIBUTORS)
- Maintainersnap@snapframework.com
- Homepagesnapframework.com
- Pinned byhackage snap-core 1.0.5.1
- Sourcehackage.haskell.org/package/snap-core-1.0.5.1
Modules
- Snap.CoreThis module contains the core type definitions, class instances, and functions
- Snap.TestThe Snap.Test module contains primitives and combinators for testing Snap
- Snap.Types.HeadersAn opaque data type for HTTP headers. Intended to be imported qualified,
- Snap.Util.CORSAdd CORS (cross-origin resource sharing)
- Snap.Util.FileServeContains web handlers to serve files from a directory. Example usage: {-# LANGUAGE OverloadedStrings #-}
- Snap.Util.FileUploadsThis module contains primitives and helper functions for handling
- Snap.Util.GZipHelpers for running a Snap web handler with compression.
- Snap.Util.ProxyThis module provides facilities for patching incoming Requests to
Internal modules · 5
- Snap.Internal.Core
- Snap.Internal.DebugAn internal Snap module for (optionally) printing debugging messages. To
- Snap.Internal.Http.TypesAn internal Snap module containing HTTP types. N.B. this is an internal interface, please don't write user code that
- Snap.Internal.Parsing
- Snap.Internal.Util.FileServeContains web handlers to serve files from a directory.
Description
Snap is a simple and fast web development framework and server written in Haskell. For more information or to download the latest version, you can visit the Snap project website at http://snapframework.com/.
This library contains the core definitions and types for the Snap framework, including:
Primitive types and functions for HTTP (requests, responses, cookies, post/query parameters, etc) A monad for programming web handlers called "Snap", which allows:
Stateful access to the HTTP request and response objects Monadic failure (i.e. MonadPlus/Alternative instances) for declining to handle requests and chaining handlers together Early termination of the computation if you know early what you want to return and want to prevent further monadic processing
Quick start: The Snap monad and HTTP definitions are in Snap.Core.
Depends on
26 packages- HUnit-1.6.2.0in this set
- attoparsec-0.14.4in this set
- base-4.23.0.0with GHC
- bytestring-0.12.2.0with GHC
- case-insensitive-1.2.1.0in this set
- containers-0.8with GHC
- directory-1.3.11.0with GHC
- filepath-1.5.5.0with GHC
- hashable-1.5.1.0in this set
- io-streams-1.5.2.2in this set
- lifted-base-0.2.3.12in this set
- monad-control-1.0.3.1in this set
- mtl-2.3.2with GHC
- network-3.2.9.0in this set
- network-uri-2.6.4.2in this set
- old-locale-1.0.0.7in this set
- random-1.3.1in this set
- readable-0.3.1in this set
- regex-posix-0.96.0.2in this set
- text-2.1.4with GHC
- time-1.16.0.1with GHC
- transformers-0.6.3.0with GHC
- transformers-base-0.4.6.1in this set
- unix-compat-0.7.4.1in this set
- unordered-containers-0.2.21in this set
- vector-0.13.2.0in this set