module SpecKemal

Overview

Links Kemal's [HTTP::Handler] chain. Used by [process_request] and [./spec-kemal/websocket] WebSocket flow.

Defined in:

spec-kemal.cr

Class Method Summary

Class Method Detail

def self.build_main_handler : HTTP::Handler #

[View source]
def self.process_request(request : HTTP::Request) : HTTP::Client::Response #

In-memory handler run. Does not call [HTTP::Server::Response#upgrade_handler]; use the top-level connect_websocket helper for full WebSocket message tests.


[View source]