Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Protocols
Protocols.OBEX
Protocols.OBEX.Client

Method Protocols.OBEX.Client()->do_setpath()


Method do_setpath

array(int|Headers) do_setpath(string path, int|void flags, Headers|void extra_headers)

Description

Perform a REQ_SETPATH request.

Parameter path

The directory to set as current working directory

"/"

Go to the root directory

".."

Go to the parent directory


Parameter flags

Logical or of zero or more of SETPATH_BACKUP and SETPATH_NOCREATE

Parameter extra_headers

Any additional request headers (the HI_NAME header is generated by this function)

See also

do_request()