ankh v0.3.1 Ankh.Frame

HTTP/2 frame struct

The using macro injects the frame struct needed by the Ankh.Frame.Encoder protocol.

Summary

Functions

Injects the frame struct in a module

Functions

__using__(list) (macro)
__using__(term, [type: Integer.t, flags: struct, payload: struct]) :: nil

Injects the frame struct in a module.

  • type: HTTP/2 frame type code
  • flags: frame flags struct or nil for no flags
  • payload: frame payload struct or nil for no payload