Kasky

Kasky

  • Documentation
  • GitHub

›References

Getting Started

  • Installation
  • Creating your First Project
  • Running your Project

Next Step

  • Controllers
  • Routing
  • Middlewares

References

  • Request
  • Response
  • @Controller()
  • @Route.<HTTP_METHOD>()

Request

The Request object represents the HTTP request and it has methods to get certain information about the request.

Methods

header()

header(key: string)

Text describing my function


query()

query(key: string)

Text describing my function


param()

param(key: string)

Text describing my function


body()

body(key: string)

Text describing my function


ip()

ip()

Returns the ip address of the request

← MiddlewaresResponse →
  • Methods
    • header()
    • query()
    • param()
    • body()
    • ip()
Kasky
Docs
Getting StartedGuidesAPI Reference
More
GitHubStar
Copyright © 2019 Kasky