SendStringHead enqueues the URL strings to be fetched with a HEAD method. It returns an error if the URL string cannot be parsed, or if the Queue has been closed. The first return value is the number of URLs successfully enqueued.
(rawurl ...string)
| 207 | // It returns an error if the URL string cannot be parsed, or if the Queue has been closed. |
| 208 | // The first return value is the number of URLs successfully enqueued. |
| 209 | func (q *Queue) SendStringHead(rawurl ...string) (int, error) { |
| 210 | return q.sendWithMethod("HEAD", rawurl) |
| 211 | } |
| 212 | |
| 213 | // SendStringGet enqueues the URL strings to be fetched with a GET method. |
| 214 | // It returns an error if the URL string cannot be parsed, or if the Queue has been closed. |
no test coverage detected