Plug.Cowboy.http

You're seeing just the function http, go back to Plug.Cowboy module for more information.
Link to this function

http(plug, opts, cowboy_options \\ [])

View Source

Specs

http(module(), Keyword.t(), Keyword.t()) ::
  {:ok, pid()} | {:error, :eaddrinuse} | {:error, term()}

Runs cowboy under http.

Example

# Starts a new interface
Plug.Cowboy.http MyPlug, [], port: 80

# The interface above can be shutdown with
Plug.Cowboy.shutdown MyPlug.HTTP