classafBounce::BedClient

sys::Obj
  afButter::ButterDish
    afBounce::BedClient

Use to send requests to your Bed App.

bedServer

Source

BedServer bedServer

The BedServer this terminator makes calls against.

getThreadedClient

Source

static BedClient getThreadedClient()

lastRequest

Source

ButterRequest? lastRequest

The last request. Returns null if no requests have been made.

lastResponse

Source

ButterResponse? lastResponse

The response to the last request. Returns null if no requests have been made.

make

Source

new make(Butter butter)

refresh

Source

Void refresh()

rootElement

Source

XElem rootElement()

Returns the root XML element of the response

selectCss

Source

XElem[] selectCss(Str cssSelector)

Selects XML elements from the XML response

sendRequest

Source

virtual override ButterResponse sendRequest(ButterRequest req)

shutdown

Source

Void shutdown()

Shuts down the associated BedServer and the running web app.

sizzleDoc

Source

SizzleDoc sizzleDoc()

Returns SizzleDoc of the XML response.

webSession

Source

WebSession? webSession(Bool create := false)

The WebSession this client has in the Bed App.

If a session has not yet been created then it returns null - or creates a new session if create is true.