ez-captcha-client/tasks.go

22 lines
568 B
Go
Raw Normal View History

2024-10-12 00:32:31 +00:00
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)
}