99s

  • Articles
  • Talks
  • Documentation
  • Consulting & Training
  • Github

Cowboy User Guide

Rationale

  • The modern Web

  • Erlang and the Web

Introduction

  • Introduction

  • Getting started

  • Flow diagram

Configuration

  • Listeners

  • Routing

  • Constraints

Handlers

  • Handlers

  • Loop handlers

  • Static files

Request and response

  • Request details

  • Reading the request body

  • Sending a response

  • Using cookies

  • Multipart

REST

  • REST principles

  • Handling REST requests

  • REST flowcharts

  • Designing a resource handler

Websocket

  • The Websocket protocol

  • Websocket handlers

Advanced

  • Streams

  • Middlewares

Additional information

  • Migrating from Cowboy 2.0 to 2.1

  • Migrating from Cowboy 1.0 to 2.0

  • HTTP and other specifications

Cowboy 2.1 User Guide

  • User Guide
  • Function Reference

Navigation

Version select

  • 2.4
  • 2.3
  • 2.2
  • 2.1
  • 2.0
  • 1.0

↑ Scroll to top

  • Contact us
  • Contribute to this site

Copyright © Loïc Hoguin 2012-2018