Class: MicrosoftKiotaFaraday::Middleware::ResponseHandlerOption

Inherits:
Object
  • Object
show all
Defined in:
lib/microsoft_kiota_faraday/middleware/response_handler_option.rb

Constant Summary collapse

RESPONSE_HANDLER_KEY =
"responseHandler"

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#async_callbackObject

a lambda that takes the native response type and returns a Fiber with a MicrosoftKiotaAbstractions::Parsable



8
9
10
# File 'lib/microsoft_kiota_faraday/middleware/response_handler_option.rb', line 8

def async_callback
  @async_callback
end

Instance Method Details

#get_keyObject



9
10
11
# File 'lib/microsoft_kiota_faraday/middleware/response_handler_option.rb', line 9

def get_key()
    RESPONSE_HANDLER_KEY
end