struct Protocol::Network::WebSocketResponse

Overview

WebSocket response data.

Included Modules

Defined in:

protocol/network.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def headers : Headers #

HTTP response headers.


[View source]
def headers_text : String | Nil #

HTTP response headers text.


[View source]
def request_headers : Headers | Nil #

HTTP request headers.


[View source]
def request_headers_text : String | Nil #

HTTP request headers text.


[View source]
def status : Int::Primitive #

HTTP response status code.


[View source]
def status_text : String #

HTTP response status text.


[View source]