Membrane.Hackney.Sink (Membrane Hackney plugin v0.6.0) View Source
An element uploading data over HTTP(S) based on Hackney
Element options
Passed via struct Membrane.Hackney.Sink.t/0
location
String.t()
Required
The URL of a requestmethod
:post | :put | :patch
Default value:
:post
HTTP method that will be used when making a requestheaders
keyword
Default value:
[]
List of additional request headers in format accepted by:hackney.request/5
hackney_opts
keyword
Default value:
[]
Additional options for Hackney in format accepted by:hackney.request/5
demand_size
any
Default value:
1024
The size of the demand made after each write
Pads
:input
Availability | :always |
Caps | :any |
Demand unit | :bytes |
Direction | :input |
Mode | :pull |
Name | :input |
Link to this section Summary
Types
Struct containing options for Membrane.Hackney.Sink
Functions
Returns pads descriptions for Membrane.Hackney.Sink
Returns description of options available for this module
Link to this section Types
Specs
t() :: %Membrane.Hackney.Sink{ demand_size: any(), hackney_opts: keyword(), headers: keyword(), location: String.t(), method: :post | :put | :patch }
Struct containing options for Membrane.Hackney.Sink
Link to this section Functions
Specs
membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.Hackney.Sink
Specs
options() :: keyword()
Returns description of options available for this module