diff --git a/src/websocketc.cr b/src/websocketc.cr index bce9bcb..48c3b27 100644 --- a/src/websocketc.cr +++ b/src/websocketc.cr @@ -29,21 +29,7 @@ class Context end class Baguette::Configuration - class Websocketc < Base - property verbosity : Int32 = 2 - - property ipc_timer : Int32 = 30_000 - - property print_ipc_timer : Bool = false - property print_ipc_connection : Bool = false - property print_ipc_disconnection : Bool = false - property print_ipc_extra_socket : Bool = false - property print_ipc_message_received : Bool = false - property print_ipc_message_sent : Bool = false - property print_ipc_switch : Bool = false - - def initialize - end + class Websocketc < IPC end end diff --git a/src/websocketd.cr b/src/websocketd.cr index d42962b..aaa1bf6 100644 --- a/src/websocketd.cr +++ b/src/websocketd.cr @@ -29,21 +29,14 @@ class Tracking::Request end class Baguette::Configuration - class Websocket < Base + class Websocket < IPC # service instance parameters # they can be changed via the cli property service_name : String = "websocket" property host : String = "0.0.0.0" property port : UInt16 = 1234 - property ipc_timer : Int32 = 30_000.to_i32 property print_messages : Bool = false - property print_ipc_timer : Bool = false - - property verbosity : Int32 = 3 - - def initialize - end end end