Packages

package requests

Type Members

  1. class EventService extends AnyRef

    GitHub events service.

  2. class GitHubRequest extends AnyRef

    Handles a GitHubRequest.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

Ungrouped