Skip to content

LilyRose2798/typed_headers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typed_headers

Package Version Hex Docs

gleam add typed_headers
import gleam/list
import typed_headers/header
import typed_headers/content_type
import typed_headers/content_type/application

pub fn main() {
  let headers =
  [header.ContentType(content_type.Application(application.JSON))]
  |> list.map(typed_headers.to_string)
}

Further documentation can be found at https://hexdocs.pm/typed_headers.

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages