12 lines
204 B
Crystal
12 lines
204 B
Crystal
|
class AuthD::Request
|
||
|
IPC::JSON.message KeepAlive, 250 do
|
||
|
def initialize()
|
||
|
end
|
||
|
|
||
|
def handle(authd : AuthD::Service, fd : Int32)
|
||
|
Response::KeepAlive.new
|
||
|
end
|
||
|
end
|
||
|
AuthD.requests << KeepAlive
|
||
|
end
|