class

XSOverlay::Settings

Inherits JSON::Serializable < Reference < Object

sinks.xsoverlay セクション(仕様書 5 章)。

Constants

PORT_RANGE = 1..65535

Constructors

from_section(section : JSON::Any | Nil) : Settings
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

validate(section : JSON::Any | Nil) : Array(String)
Source

Instance methods

enabled
Source
enabled=(enabled : Bool)
Source
transport
Source
transport=(transport : Transport)
Source
udp_port
Source
udp_port=(udp_port : Int32)
Source
websocket_port
Source
websocket_port=(websocket_port : Int32)
Source