ez-captcha-client/tasks.go
2024-10-12 01:32:31 +01:00

22 lines
568 B
Go

package ezcaptcha
func (c *Client) NewReCaptchaV2Task(task *ReCaptchaV2) (*CreateTaskResponse, error) {
return c.createTask(task)
}
func (c *Client) NewReCaptchaV3Task(task *ReCaptchaV3) (*CreateTaskResponse, error) {
return c.createTask(task)
}
func (c *Client) NewHCaptchaTask(task *HCaptcha) (*CreateTaskResponse, error) {
return c.createTask(task)
}
func (c *Client) SolveAkamai(task *Akamai) (*AkamaiResponse, error) {
return c.solveAkamai(task)
}
func (c *Client) SolveAkamaiBMP(task *AkamaiBMP) (*AkamaiResponse, error) {
return c.solveAkamai(task)
}