Packages

A simple and easy to use API created on top of the Mist web server

Current section

Files

Jump to
howdy src howdy context header.gleam
Raw

src/howdy/context/header.gleam

//// Helper methods for handling the request header
//// from the Context
import gleam/http/request
import howdy/context.{Context}
/// Finds the value from the request header using
/// the Context
pub fn get_value(context: Context(a), key: String) {
request.get_header(context.request, key)
}