classafBounce::BedClient
sys::Obj afButter::ButterDish afBounce::BedClient
Use to send requests to your Bed App.
- bedServer
BedServer bedServerThe
BedServerthis terminator makes calls against.- getThreadedClient
static BedClient getThreadedClient()- lastRequest
ButterRequest? lastRequestThe last request. Returns
nullif no requests have been made.- lastResponse
ButterResponse? lastResponseThe response to the last request. Returns
nullif no requests have been made.- make
new make(Butter butter)- rootElement
XElem rootElement()Returns the root XML element of the response
- selectCss
XElem[] selectCss(Str cssSelector)Selects XML elements from the XML response
- sendRequest
virtual override ButterResponse sendRequest(ButterRequest req)- shutdown
Void shutdown()Shuts down the associated
BedServerand the running web app.- sizzleDoc
SizzleDoc sizzleDoc()Returns
SizzleDocof the XML response.- webSession
WebSession? webSession(Bool create := false)The
WebSessionthis client has in the Bed App.If a session has not yet been created then it returns
null- or creates a new session ifcreateistrue.