ankh v0.1.1 Ankh.Frame

HTTP/2 frame struct

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

Summary

Macros

Injects the frame struct in a module

Macros

__using__(list)
__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