Vibrant

Starts a vibrant router on the given port. Defaults to port 8085 if none is provided.

  1. VibrantRouter!GenerateAll Vibrant(string prefix)
  2. VibrantRouter!GenerateAll Vibrant(ushort port, string prefix)
    VibrantRouter!GenerateAll
    Vibrant
    (
    bool GenerateAll = false
    )
    (
    ushort port
    ,
    string prefix = null
    )
  3. VibrantRouter!GenerateAll Vibrant(HTTPServerSettings settings, string prefix)

Parameters

port ushort

The port number to start the server on.

prefix string

The route prefix for all routes.

Return Value

Type: VibrantRouter!GenerateAll

An instance of the vibrant router.

Meta