W3cubDocs

/Crystal 0.31

class HTTP::Server::Context

Overview

Instances of this class are passed to an HTTP::Server handler.

Defined in:

http/server/context.cr

Instance Method Summary

Instance Method Detail

def request : RequestSource

The HTTP::Request to process.

def response : ResponseSource

The HTTP::Server::Response to configure and write to.

© 2012–2019 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.31.1/HTTP/Server/Context.html