We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As it happens, HttpClient.delete is used when no body is expected from the server (as opposed to HttpCliente.deleteWithResponse).
HttpClient.delete
HttpCliente.deleteWithResponse
I'm not sure if there's anything on github4s algebras using that method. I've used to to implement a delete reference:
def deleteReference(owner: String, repo: String, ref: String, headers: Map[String, String]): F[GHResponse[Unit]] = { for { _ <- Sync[F].delay(assert(ref.matches("refs/(heads|tags)/.+"), f"Invalid reference $ref%s")) res <- client.delete(accessToken, f"repos/$owner%s/$repo%s/git/$ref%s") } yield res }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As it happens,
HttpClient.delete
is used when no body is expected from the server (as opposed toHttpCliente.deleteWithResponse
).I'm not sure if there's anything on github4s algebras using that method. I've used to to implement a delete reference:
The text was updated successfully, but these errors were encountered: