Membrane Element: Hackney v0.3.1 Membrane.Element.Hackney.Sink View Source

An element uploading data over HTTP(S) based on Hackney

Element options

Passed via struct Membrane.Element.Hackney.Sink.t/0

  • location

    Required

    The URL of a request

  • method

    Default value: :post

    HTTP method that will be used when making a request

  • headers

    Default value: []

    List of additional request headers in format accepted by :hackney.request/5

  • hackney_opts

    Default value: []

    Additional options for Hackney in format accepted by :hackney.request/5

Pads

:input

Availability:always
Bin?false
Caps:any
Demand unit:bytes
Direction:input
Mode:pull
Name:input

Link to this section Summary

Types

t()

Struct containing options for Membrane.Element.Hackney.Sink

Functions

Returns pads descriptions for Membrane.Element.Hackney.Sink

Returns description of options available for this module

Link to this section Types

Link to this type

t()

View Source
t() :: %Membrane.Element.Hackney.Sink{
  hackney_opts: keyword(),
  headers: keyword(),
  location: String.t(),
  method: :post | :put | :patch
}

Struct containing options for Membrane.Element.Hackney.Sink

Link to this section Functions

Returns pads descriptions for Membrane.Element.Hackney.Sink

Returns description of options available for this module