plug v0.8.1
Modules summary ↑
Plug | The plug specification |
Plug.Adapters.Cowboy | Adapter interface to the Cowboy webserver |
Plug.Builder | Conveniences for building plugs |
Plug.Conn | The Plug connection |
Plug.Conn.Adapter | Specification of the connection adapter API implemented by webservers |
Plug.Conn.Cookies | Conveniences for encoding and decoding cookies |
Plug.Conn.Query | Conveniences for decoding and encoding url encoded queries |
Plug.Conn.Status | Conveniences for working with status codes |
Plug.Conn.Unfetched | A struct used as default on unfetched fields |
Plug.Conn.Utils | Utilities for working with connection data |
Plug.Crypto.KeyGenerator |
|
Plug.Crypto.MessageEncryptor |
|
Plug.Crypto.MessageVerifier |
|
Plug.Head | A Plug to convert “HEAD” requests to “GET” |
Plug.Logger | A plug for logging basic request information |
Plug.MIME | Maps MIME types to file extensions and vice versa |
Plug.MethodOverride | A plug to overwrite “POST” method with the one defined in _method parameter or x-http-method-override header |
Plug.Parsers | A plug for parsing the request body |
Plug.Parsers.JSON | Parses JSON request body |
Plug.Parsers.MULTIPART | Parses multipart request body |
Plug.Parsers.URLENCODED | Parses urlencoded request body |
Plug.Router | A DSL to define a routing algorithm that works with Plug |
Plug.Session | A plug to handle session cookies and session stores |
Plug.Session.COOKIE | Stores the session in a cookie |
Plug.Session.ETS | Stores the session in an in-memory ETS table |
Plug.Session.Store | Removes the session associated with given session id from the store |
Plug.Static | A plug for serving static assets |
Plug.Test | Conveniences for testing plugs |
Plug.Upload | A server that manages uploaded files |
Exceptions summary ↑
Plug.Conn.AlreadySentError | Error raised when trying to modify or send an already sent response |
Plug.Conn.NotSentError | Error raised when no response is sent in a request |
Plug.Parsers.ParseError | Error raised when the request body is malformed |
Plug.Parsers.RequestTooLargeError | Error raised when the request is too large |
Plug.Parsers.UnsupportedMediaTypeError | Error raised when the request body cannot be parsed |
Plug.Router.InvalidSpecError |
Protocols summary ↑
Plug.Exception | A protocol that extends exceptions to be status code aware |