Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
alfodr
v0.2.0
Alfodr
Cluster
Controller
Base
Error
Helpers
Route
DSL
Pipeline
Router
Server
Exceptions
Base
Controller
Redirect
CookieOverflow
DuplicateRouteError
EncryptionKeyMissing
Environment
Forbidden
InvalidMessage
InvalidSignature
RouteNotFound
Validator
InvalidParam
ValidationFailed
Extensions
HTTPServerContext
Pipe
Base
ClientIp
Controller
CORS
OriginType
Error
Headers
Logger
Params
Origin
Pipeline
Preflight
Route
Router
File
Params
Parsers
JSON
Multipart
Router
Types
Files
Key
Params
Server
WebSocketAdapter
SSL
Validators
BaseRule
Error
OptionalRule
Params
RequiredRule
ValidationBuilder
WebSockets
Adapters
MemoryAdapter
RedisAdapter
Channel
ClientSocket
ClientSockets
Server
Handler
SubscriptionManager
Built with Crystal 1.9.2
2023-10-08 13:24:37 UTC
class
Alfodr::WebSockets::Server::Handler
Alfodr::WebSockets::Server::Handler
HTTP::WebSocketHandler
Reference
Object
Defined in:
alfodr/websockets/server.cr
Constructors
.new
(path : String, &proc : HTTP::WebSocket, HTTP::Server::Context -> Void)
Instance Method Summary
#call
(context)
Constructor Detail
def self.
new
(path : String, &proc : HTTP::WebSocket,
HTTP::Server::Context
-> Void)
#
[
View source
]
Instance Method Detail
def
call
(context)
#
[
View source
]