Membrane.Hackney.Sink
(Membrane Hackney plugin v0.11.1)
View Source
An element uploading data over HTTP(S) based on Hackney
Element options
Passed via struct Membrane.Hackney.Sink.t/0
locationanyRequired
The URL of a requestmethod:post | :put | :patchDefault value:
:post
HTTP method that will be used when making a requestheadersanyDefault value:
[]
List of additional request headers in format accepted by:hackney.request/5hackney_optsanyDefault value:
[]
Additional options for Hackney in format accepted by:hackney.request/5demand_sizeanyDefault value:
1024
The size of the demand made after each write
Pads
:input
Accepted formats:
_any| Direction: | :input |
| Availability: | :always |
| Flow control: | :manual |
| Demand unit: | :bytes |
Summary
Types
Struct containing options for Membrane.Hackney.Sink
Types
@type t() :: %Membrane.Hackney.Sink{ demand_size: any(), hackney_opts: any(), headers: any(), location: any(), method: :post | :put | :patch }
Struct containing options for Membrane.Hackney.Sink
Functions
@spec options() :: keyword()
Returns description of options available for this module