Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun buttonConfig(block: ButtonConfig.(RequestContext) -> Unit)

This is the button config block used by browser clients.

Link copied to clipboard
fun onAllRequests(block: suspend (request: RequestContext) -> Unit)
Link copied to clipboard
fun onAllResponses(block: suspend (responseContext: ResponseContext) -> Unit)
Link copied to clipboard
open override fun onAssistantRequest(block: suspend WebAssistantResponse.(RequestContext) -> Unit)

Whenever an AssistantRequest is made, the contents of the onAssistantRequest{} block will be executed.

Link copied to clipboard
fun onRequest(requestType: ServerRequestType, vararg requestTypes: ServerRequestType, block: suspend (requestContext: RequestContext) -> Unit)
Link copied to clipboard
fun onResponse(requestType: ServerRequestType, vararg requestTypes: ServerRequestType, block: suspend (responseContext: ResponseContext) -> Unit)
Link copied to clipboard