package naboris

  1. Overview
  2. Docs
Simple http server

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.3.tar.gz
md5=f7d1c959627f93fdcf9fd0c346edb9c9
sha512=344a03d18170368a3fedcc595f6cc103fe47449a77a9923ab58a7d20d8d291edfda624d27bbfd8dc05d9af33a797064efcbeb52a4f9ea57fa862ebd39b97cfa1

doc/naboris/Naboris/Method/index.html

Module Naboris.Method

Module with types used for matching requests.

type t =
  1. | GET
  2. | POST
  3. | PUT
  4. | PATCH
  5. | DELETE
  6. | CONNECT
  7. | OPTIONS
  8. | TRACE
  9. | Other of string

Represents an HTTP Method

val ofString : string -> t
val toString : t -> string
val ofHttpAfMethod : Httpaf.Method.t -> t