class obix::ObixClient
sys::Obj obix::ObixClient
ObixClient implements the client side of the oBIX HTTP REST protocol.
- aboutUri
- 
Uri? aboutUriAbout object relative URI - either set manually or via readLobby.
- batchRead
- 
ObixObj[] batchRead(Uri[] uris)Perform a batch read for all the given URIs. The batchUrimust be either set manually or viareadLobby.
- batchUri
- 
Uri? batchUriBatch operation relative URI - either set manually or via readLobby.
- invoke
- 
ObixObj invoke(Uri uri, ObixObj in)Invoke the operation identified by the specified href. If the result is* an <err>object, then throw an ObixErr with the object.
- lobbyUri
- 
const Uri lobbyUriUri of the lobby object 
- main
- make
- 
new make(Uri lobby, Str:Str authHeaders)Construct with given headers to use for authentication 
- makeBasicAuth
- 
static new makeBasicAuth(Uri lobby, Str username, Str password)Construct to use Basic Authentication 
- read
- 
Read an obix document with the specified href. If the result is an <err>object, then throw an ObixErr with the object.
- readAbout
- 
ObixObj readAbout()Read about object. The aboutUrimust be either set manually or viareadLobby.
- readLobby
- 
ObixObj readLobby()Read the lobby object. This method will set the aboutUriandbatchUrifields.
- watchOpen
- 
ObixClientWatch watchOpen()Create a new watch from via watchServiceUriand return the object which represents the watch. Raise err if watch service isn't available.
- watchServiceUri
- 
Uri? watchServiceUriWatch service relative URI - either set manually or via readLobby
- write
- 
Write an obix document to the specified href and return the server's result. If the result is an <err>object, then throw an ObixErr with the object.