Plug

v1.6.2

  • Pages
  • Modules
  • Exceptions
  • Plug
    • Top
    • Summary
    • Types
      • opts/0
    • Callbacks
      • call/2
      • init/1
  • Plug.Adapters.Cowboy2.Stream
    • Top
    • Summary
    • Functions
      • data/4
      • early_error/5
      • info/3
      • init/3
      • terminate/3
  • Plug.Builder
    • Top
    • Summary
    • Types
      • plug/0
    • Functions
      • builder_opts/0
      • compile/3
      • plug/2
  • Plug.Conn
    • Top
    • Summary
    • Types
      • adapter/0
      • assigns/0
      • before_send/0
      • body/0
      • cookies/0
      • halted/0
      • headers/0
      • host/0
      • int_status/0
      • method/0
      • owner/0
      • param/0
      • params/0
      • peer/0
      • port_number/0
      • query_string/0
      • resp_cookies/0
      • scheme/0
      • secret_key_base/0
      • segments/0
      • state/0
      • status/0
      • t/0
    • Functions
      • assign/3
      • chunk/2
      • clear_session/1
      • configure_session/2
      • delete_req_header/2
      • delete_resp_cookie/3
      • delete_resp_header/2
      • delete_session/2
      • fetch_cookies/2
      • fetch_query_params/2
      • fetch_session/2
      • get_http_protocol/1
      • get_peer_data/1
      • get_req_header/2
      • get_resp_header/2
      • get_session/2
      • halt/1
      • inform!/3
      • inform/3
      • merge_assigns/2
      • merge_private/2
      • merge_resp_headers/2
      • prepend_resp_headers/2
      • push!/3
      • push/3
      • put_private/3
      • put_req_header/3
      • put_resp_content_type/3
      • put_resp_cookie/4
      • put_resp_header/3
      • put_session/3
      • put_status/2
      • read_body/2
      • read_part_body/2
      • read_part_headers/2
      • register_before_send/2
      • request_url/1
      • resp/3
      • send_chunked/2
      • send_file/5
      • send_resp/1
      • send_resp/3
      • update_req_header/4
      • update_resp_header/4
  • Plug.Crypto
    • Top
    • Summary
    • Functions
      • mask/2
      • masked_compare/3
      • safe_binary_to_term/2
      • secure_compare/2
  • Plug.Debugger
    • Top
    • Summary
    • Functions
      • has_docs?/3
  • Plug.ErrorHandler
  • Plug.Exception
    • Top
    • Summary
    • Types
      • t/0
    • Functions
      • status/1
  • Plug.HTML
    • Top
    • Summary
    • Functions
      • html_escape/1
      • html_escape_to_iodata/1
  • Plug.Router
    • Top
    • Summary
    • Functions
      • delete/3
      • forward/2
      • get/3
      • match/3
      • match_path/1
      • options/3
      • patch/3
      • post/3
      • put/3
  • Plug.Test
    • Top
    • Summary
    • Functions
      • conn/3
      • delete_req_cookie/2
      • init_test_session/2
      • put_http_protocol/2
      • put_peer_data/2
      • put_req_cookie/3
      • recycle_cookies/2
      • sent_informs/1
      • sent_pushes/1
      • sent_resp/1
  • Plug.Upload
    • Top
    • Summary
    • Types
      • t/0
    • Functions
      • child_spec/1
      • init/1
      • random_file!/1
      • random_file/1
      • start_link/0
  • Plugs
  • Plug.CSRFProtection
    • Top
    • Summary
    • Functions
      • call/2
      • delete_csrf_token/0
      • get_csrf_token/0
      • get_csrf_token_for/1
      • init/1
  • Plug.Head
    • Top
    • Summary
    • Functions
      • call/2
      • init/1
  • Plug.Logger
    • Top
    • Summary
    • Functions
      • call/2
      • init/1
  • Plug.MethodOverride
    • Top
    • Summary
    • Functions
      • call/2
      • init/1
  • Plug.Parsers
    • Top
    • Summary
    • Functions
      • call/2
      • init/1
    • Callbacks
      • init/1
      • parse/5
  • Plug.RequestId
    • Top
    • Summary
    • Functions
      • call/2
      • init/1
  • Plug.SSL
    • Top
    • Summary
    • Functions
      • call/2
      • configure/1
      • init/1
  • Plug.Session
    • Top
    • Summary
    • Functions
      • call/2
      • init/1
  • Plug.Static
    • Top
    • Summary
    • Functions
      • call/2
      • init/1
  • Plug.Adapters
  • Plug.Adapters.Cowboy
    • Top
    • Summary
    • Functions
      • child_spec/1
      • http/3
      • https/3
      • shutdown/1
  • Plug.Adapters.Cowboy2
    • Top
    • Summary
    • Functions
      • child_spec/1
      • http/3
      • https/3
      • shutdown/1
  • Plug.Adapters.Translator
    • Top
    • Summary
    • Functions
      • translate/4
  • Plug.Conn
  • Plug.Conn.Adapter
    • Top
    • Summary
    • Types
      • http_protocol/0
      • payload/0
      • peer_data/0
    • Callbacks
      • chunk/2
      • get_http_protocol/1
      • get_peer_data/1
      • inform/3
      • push/3
      • read_req_body/2
      • send_chunked/3
      • send_file/6
      • send_resp/4
  • Plug.Conn.Cookies
    • Top
    • Summary
    • Functions
      • decode/1
      • encode/2
  • Plug.Conn.Query
    • Top
    • Summary
    • Functions
      • decode/2
      • decode_pair/2
      • encode/2
  • Plug.Conn.Status
    • Top
    • Summary
    • Functions
      • code/1
      • reason_atom/1
      • reason_phrase/1
  • Plug.Conn.Unfetched
    • Top
    • Summary
    • Types
      • t/0
    • Functions
      • fetch/2
      • get/3
      • get_and_update/3
      • pop/2
  • Plug.Conn.Utils
    • Top
    • Summary
    • Types
      • params/0
    • Functions
      • content_type/1
      • list/1
      • media_type/1
      • params/1
      • token/1
      • validate_utf8!/3
  • Plug.Crypto
  • Plug.Crypto.KeyGenerator
    • Top
    • Summary
    • Functions
      • generate/3
  • Plug.Crypto.MessageEncryptor
    • Top
    • Summary
    • Functions
      • decrypt/3
      • encrypt/3
  • Plug.Crypto.MessageVerifier
    • Top
    • Summary
    • Functions
      • sign/3
      • verify/2
  • Plug.Parsers
  • Plug.Parsers.JSON
    • Top
    • Summary
    • Functions
      • init/1
      • parse/5
  • Plug.Parsers.MULTIPART
    • Top
    • Summary
    • Functions
      • init/1
      • parse/5
  • Plug.Parsers.URLENCODED
    • Top
    • Summary
    • Functions
      • init/1
      • parse/5
  • Plug.Session
  • Plug.Session.COOKIE
    • Top
    • Summary
    • Functions
      • delete/3
      • get/3
      • init/1
      • put/4
  • Plug.Session.ETS
    • Top
    • Summary
    • Functions
      • delete/3
      • get/3
      • init/1
      • put/4
  • Plug.Session.Store
    • Top
    • Summary
    • Types
      • cookie/0
      • session/0
      • sid/0
    • Callbacks
      • delete/3
      • get/3
      • init/1
      • put/4

Plug v1.6.2 Plug.Adapters.Cowboy2.Stream View Source

Link to this section Summary

Functions

data(stream_id, is_fin, data, state)
early_error(stream_id, reason, partial_req, resp, opts)
info(stream_id, info, state)
init(stream_id, req, opts)
terminate(stream_id, reason, state)

Link to this section Functions

Link to this function data(stream_id, is_fin, data, state) View Source
Link to this function early_error(stream_id, reason, partial_req, resp, opts) View Source
Link to this function info(stream_id, info, state) View Source
Link to this function init(stream_id, req, opts) View Source
Link to this function terminate(stream_id, reason, state) View Source

Built using ExDoc (v0.19.0), designed by Friedel Ziegelmayer for the Elixir programming language.