Anthropic::APIResponse
A raw HTTP response surfaced to middleware. Carries every status code;
middleware must inspect status to react to errors.
Constructors
Instance methods
body
Sourceheaders
Sourceparse(type : T.class) : T forall T
Parse the body as the SDK-typed result. Buffers nothing (body is already materialized for the non-streaming path).
request
Sourcestatus
Sourcesuccess?
Source