View Source Spaceboy.Header (Spaceboy v0.3.2)
Struct representing Gemini header response.
You should not create headers directly - all supported headers has functions with correct codes.
Summary
Utils
Correctly format the response header
Input
Success
Redirect
Temporary Failure
Permanent Failure
Client Certificate Required
Utils
Types
@type t() :: %Spaceboy.Header{code: pos_integer(), meta: String.t() | nil}
Struct representing Gemini header data