Skip to content

VoiceLayer/plug_cowboy2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlugCowboy2

This is an adapter for Cowboy 2 based off of the work on @potatosalad's fork available at https://github.com/potatosalad/plug/tree/cowboy2

Installation

  1. Add plug_cowboy2 to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:plug_cowboy2, github: "voicelayer/plug_cowboy2"}]
end
```
  1. Ensure plug_cowboy2 is started before your application:
```elixir
def application do
  [applications: [:plug_cowboy2]]
end
```

Sample Application

Plug

A sample application with plug is available at https://github.com/voicelayer/plug_cowboy2_example

Phoenix

In order to use Phoenix, the [phoenix_cowboy2] (https://github.com/voicelayer/phoenix_cowboy2) application is required.

A sample application with plug is available at https://github.com/voicelayer/phoenix_cowboy2_example

About

A plug adapter for cowboy 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages