W3cubDocs

/Crystal

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–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/HTTP/Server/Context.html