Ankh.HTTP2.Frame.encode

You're seeing just the function encode, go back to Ankh.HTTP2.Frame module for more information.
Link to this function

encode(frame, options \\ [])

Specs

encode(t(), options()) :: {:ok, t(), data()} | {:error, any()}

Encodes a frame struct into binary

Parameters:

  • struct: struct using Ankh.HTTP2.Frame
  • options: options to pass as context to the encoding function