Share
Class
constructor
parent
name
add_
entry_
to_
mlcl
content_
codes
ctrl_
int
databases
databases_
browse_
xxx
databases_
items_
xxx
get_
desired_
port
get_
type_
of_
service
login
logout
message_
add_
standard_
headers
name_
collision
published
server_
info
update
GJS API Reference
DMAP-3.0
DMAP
ShareClass
Class ShareClass
Hierarchy
ShareClass
Index
Constructors
constructor
Properties
parent
name
Methods
add_
entry_
to_
mlcl
content_
codes
ctrl_
int
databases
databases_
browse_
xxx
databases_
items_
xxx
get_
desired_
port
get_
type_
of_
service
login
logout
message_
add_
standard_
headers
name_
collision
published
server_
info
update
Constructors
constructor
new
Share
Class
(
)
:
ShareClass
Returns
ShareClass
Properties
parent
parent
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
add_
entry_
to_
mlcl
add_
entry_
to_
mlcl
(
id
:
object
, record
:
DMAP
.
Record
, mb
:
object
)
:
void
Parameters
id:
object
record:
DMAP
.
Record
mb:
object
Returns
void
content_
codes
content_
codes
(
share
:
Share
, server
:
Soup
.
Server
, message
:
Soup
.
Message
, path
:
string
, query
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, ctx
:
ClientContext
)
:
void
Parameters
share:
Share
server:
Soup
.
Server
message:
Soup
.
Message
path:
string
query:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
ctx:
ClientContext
Returns
void
ctrl_
int
ctrl_
int
(
share
:
Share
, server
:
Soup
.
Server
, message
:
Soup
.
Message
, path
:
string
, query
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, ctx
:
ClientContext
)
:
void
Parameters
share:
Share
server:
Soup
.
Server
message:
Soup
.
Message
path:
string
query:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
ctx:
ClientContext
Returns
void
databases
databases
(
share
:
Share
, server
:
Soup
.
Server
, message
:
Soup
.
Message
, path
:
string
, query
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, context
:
ClientContext
)
:
void
Parameters
share:
Share
server:
Soup
.
Server
message:
Soup
.
Message
path:
string
query:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
context:
ClientContext
Returns
void
databases_
browse_
xxx
databases_
browse_
xxx
(
share
:
Share
, server
:
Soup
.
Server
, msg
:
Soup
.
Message
, path
:
string
, query
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, context
:
ClientContext
)
:
void
Parameters
share:
Share
server:
Soup
.
Server
msg:
Soup
.
Message
path:
string
query:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
context:
ClientContext
Returns
void
databases_
items_
xxx
databases_
items_
xxx
(
share
:
Share
, server
:
Soup
.
Server
, msg
:
Soup
.
Message
, path
:
string
, query
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, context
:
ClientContext
)
:
void
Parameters
share:
Share
server:
Soup
.
Server
msg:
Soup
.
Message
path:
string
query:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
context:
ClientContext
Returns
void
get_
desired_
port
get_
desired_
port
(
share
:
Share
)
:
number
Parameters
share:
Share
Returns
number
get_
type_
of_
service
get_
type_
of_
service
(
share
:
Share
)
:
string
Parameters
share:
Share
Returns
string
login
login
(
share
:
Share
, server
:
Soup
.
Server
, message
:
Soup
.
Message
, path
:
string
, query
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, ctx
:
ClientContext
)
:
void
Parameters
share:
Share
server:
Soup
.
Server
message:
Soup
.
Message
path:
string
query:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
ctx:
ClientContext
Returns
void
logout
logout
(
share
:
Share
, server
:
Soup
.
Server
, message
:
Soup
.
Message
, path
:
string
, query
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, ctx
:
ClientContext
)
:
void
Parameters
share:
Share
server:
Soup
.
Server
message:
Soup
.
Message
path:
string
query:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
ctx:
ClientContext
Returns
void
message_
add_
standard_
headers
message_
add_
standard_
headers
(
share
:
Share
, msg
:
Soup
.
Message
)
:
void
Parameters
share:
Share
msg:
Soup
.
Message
Returns
void
name_
collision
name_
collision
(
share
:
Share
, publisher
:
MdnsPublisher
, name
:
string
)
:
void
Parameters
share:
Share
publisher:
MdnsPublisher
name:
string
Returns
void
published
published
(
share
:
Share
, publisher
:
MdnsPublisher
, name
:
string
)
:
void
Parameters
share:
Share
publisher:
MdnsPublisher
name:
string
Returns
void
server_
info
server_
info
(
share
:
Share
, server
:
Soup
.
Server
, message
:
Soup
.
Message
, path
:
string
, query
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, ctx
:
ClientContext
)
:
void
Parameters
share:
Share
server:
Soup
.
Server
message:
Soup
.
Message
path:
string
query:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
ctx:
ClientContext
Returns
void
update
update
(
share
:
Share
, server
:
Soup
.
Server
, message
:
Soup
.
Message
, path
:
string
, query
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, ctx
:
ClientContext
)
:
void
Parameters
share:
Share
server:
Soup
.
Server
message:
Soup
.
Message
path:
string
query:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
ctx:
ClientContext
Returns
void
Share
Class
constructor
parent
name
add_
entry_
to_
mlcl
content_
codes
ctrl_
int
databases
databases_
browse_
xxx
databases_
items_
xxx
get_
desired_
port
get_
type_
of_
service
login
logout
message_
add_
standard_
headers
name_
collision
published
server_
info
update
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJETUFQXzNfMC5ETUFQLlNoYXJlQ2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZ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