Skip to content

ClientCallImpl.toString() could be more helpful #4776

@carl-mastrangelo

Description

@carl-mastrangelo

ClientCall current only prints out the method descriptor, which is not so helpful. It would be useful to include some more detail. Here are some ideas:

  • The deadline
  • whether the call has been started, half closed, or cancelled
  • whether initial headers have been received, or trailers recieved
  • what was the context for the call
  • the channel id of the call
  • if the channel has a subchannel assigned, the subchannel id or remote host name
  • Security level (if available)
  • Wait for ready or not

These would be useful when printing out the call, or including the call details in error messages, or generally.

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