class

StaticController

Inherits Controller < Reference < Object

this controller reads a file and returns it without any modification it can be useful for serving static files such as images, css, js, etc.

Constructors

new(file_path : String)
Source

Instance methods

delete(ctx) : String
Source
get(ctx) : String
Source
patch(ctx) : String
Source
post(ctx) : String
Source
put(ctx) : String
Source