Skip to content

Give ClientResponseReaderFunc access to the request? #240

@vlkl-sap

Description

@vlkl-sap

A ClientResponseReaderFunc currently only has access to the response:

return readResponse.ReadResponse(response{res}, cons)

Would it be possible to (maybe optionally) give it access to the request as well?

I would like to implement extended error handling that would log failed requests+responses only (rather than all conversations via DEBUG).

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions