Evd.WebDir

g Evd.IoStreamGroup Evd.IoStreamGroup Evd.Service Evd.Service Evd.IoStreamGroup->Evd.Service Evd.WebService Evd.WebService Evd.Service->Evd.WebService Evd.WebDir Evd.WebDir Evd.WebService->Evd.WebDir GObject.Object GObject.Object GObject.Object->Evd.IoStreamGroup

Subclasses:

Evd.WebTransportServer

Methods

Inherited:

Evd.WebService (9), Evd.Service (13), Evd.IoStreamGroup (3), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_alias ()

get_root ()

set_alias (alias)

set_root (root)

Virtual Methods

Inherited:

Evd.WebService (7), Evd.Service (4), Evd.IoStreamGroup (2), GObject.Object (7)

Properties

Inherited:

Evd.Service (2), Evd.IoStreamGroup (2)

Name

Type

Flags

Short Description

alias

str

r/w

The alias path to serve files from

allow-put

bool

r/w

Sets/gets whether to allow HTTP PUT method

root

str

r/w

The root path to serve files from

Signals

Inherited:

Evd.WebService (2), Evd.Service (2), GObject.Object (1)

Fields

Inherited:

Evd.WebService (2), Evd.Service (2), GObject.Object (1)

Name

Type

Access

Description

parent

Evd.WebService

r

Class Details

class Evd.WebDir(**kwargs)
Bases:

Evd.WebService

Abstract:

No

Structure:

Evd.WebDirClass

classmethod new()
Return type:

Evd.WebDir

get_alias()
Return type:

str

get_root()
Return type:

str

set_alias(alias)
Parameters:

alias (str) –

set_root(root)
Parameters:

root (str) –

Property Details

Evd.WebDir.props.alias
Name:

alias

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The alias path to serve files from

Evd.WebDir.props.allow_put
Name:

allow-put

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Sets/gets whether to allow HTTP PUT method

Evd.WebDir.props.root
Name:

root

Type:

str

Default Value:

'.'

Flags:

READABLE, WRITABLE

The root path to serve files from