package requests
Type Members
-
class
EventService extends AnyRef
GitHub events service.
-
class
GitHubRequest extends AnyRef
Handles a GitHubRequest.
-
final
case class
GitHubRequestException(message: String = "", cause: Throwable = None.orNull) extends Exception with Product with Serializable
Exception thrown when something goes wrong during a request to the GitHub API.
Exception thrown when something goes wrong during a request to the GitHub API.
- message
the exception message.
- cause
the exception cause.
-
case class
GitHubResponse(body: String, status: Int, headers: List[Header]) extends Product with Serializable
Represents a response generated by a request to the GitHub API.
Represents a response generated by a request to the GitHub API.
- body
the body of the response.
- status
the status of the response.
- headers
the headers of the response.
-
case class
Header(key: String, value: Array[String]) extends Product with Serializable
Represents a header.
Represents a header.
- key
the header key.
- value
the header values.
-
case class
Page(page: Int, rel: String) extends Product with Serializable
Represents a link header from the GitHub API.
Represents a link header from the GitHub API. This shows the previous/next/last page you can retrieve from.
- page
the page id.
- rel
the previous/next/last page.