Module gr::io

source ·

Structs§

  • Unifies the different ratelimit headers available from the different remotes. Github API ratelimit headers: remaining: x-ratelimit-remaining reset: x-ratelimit-reset Gitlab API ratelimit headers: remaining: RateLimit-Remaining reset: RateLimit-Reset
  • Adapts lower level I/O HTTP/Shell outputs to a common Response.
  • Builder for Response.

Enums§

Constants§

Traits§

  • A trait for the HTTP protocol. Implementors need to conform with the HTTP constraints and requirements. Implementors accept a Request that wraps headers, payloads and HTTP methods. Clients can potentially do HTTP calls against a remote server or mock the responses for testing purposes.
  • A trait that handles the execution of processes with a finite lifetime. For example, it can be an in-memory process for testing or a shell command doing I/O. It handles all processes that do not conform with the HTTP protocol. For that, check the HttpRunner

Functions§