setElicitationHandler

Sets the elicitation handler.

When the handler returns ElicitResult.Action.Accept, any properties missing from ElicitResult.content are automatically populated with default values defined in the elicitation schema.

Parameters

handler

The elicitation handler.

Throws

if the client does not support elicitation.