YouTubeTranscriptNet.Transport.Httpc (youtubetranscript_net v0.1.0)

Copy Markdown View Source

The default transport, built on Erlang's :httpc: no dependencies. HTTPS verifies the server certificate against the operating system's CA store.

Summary

Functions

request(method, url, headers, body, timeout)

@spec request(
  atom(),
  String.t(),
  [{String.t(), String.t()}],
  binary() | nil,
  non_neg_integer()
) ::
  {:ok, YouTubeTranscriptNet.Transport.response()} | {:error, term()}

See YouTubeTranscriptNet.Transport.