Skip to content

Make .elapsed reflect the entire response time. #655

Description

@lovelydinosaur

I think we should probably switch the behavior of .elapsed so that rather than reflecting the "time for the response to start", it is instead only available once .close() has been called, and is calculated from the start of the request to the point that the response is closed.

That way it'll actually properly reflect the time taken for the entire request/response cycle.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersuser-experienceEnsuring that users have a good experience using the library

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions