class DICT::RequestResponse

Overview

A wrapper for a request and the associated response.

Defined in:

client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(request : DICT::Request, channel : Channel(DICT::Response | Exception)) #

[View source]
def self.new(request : DICT::Request) #

[View source]

Instance Method Detail

def channel : ResponsePromise #

[View source]
def close #

[View source]
def request : Request #

[View source]
def response #

[View source]