Socket
Class
constructor
parent_
class
name
disconnected
new_
connection
readable
writable
GJS API Reference
Soup-2.4
Soup
SocketClass
Class SocketClass
Hierarchy
SocketClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
disconnected
new_
connection
readable
writable
Constructors
constructor
new
Socket
Class
(
)
:
Soup
.
SocketClass
Returns
Soup
.
SocketClass
Properties
parent_
class
parent_
class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
disconnected
disconnected
(
sock
:
Soup
.
Socket
)
:
void
Parameters
sock:
Soup
.
Socket
Returns
void
new_
connection
new_
connection
(
listener
:
Soup
.
Socket
, new_sock
:
Soup
.
Socket
)
:
void
Parameters
listener:
Soup
.
Socket
new_sock:
Soup
.
Socket
Returns
void
readable
readable
(
sock
:
Soup
.
Socket
)
:
void
Parameters
sock:
Soup
.
Socket
Returns
void
writable
writable
(
sock
:
Soup
.
Socket
)
:
void
Parameters
sock:
Soup
.
Socket
Returns
void
Socket
Class
constructor
parent_
class
name
disconnected
new_
connection
readable
writable
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzJfNC5Tb3VwLlNvY2tldENsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTb3VwXzJfNC5Tb3VwLlNvY2tldENsYXNzLmh0bWwjcGFyZW50X2NsYXNzIiwibmFtZSI6InBhcmVudF9jbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHN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