SendString enqueues a method and some URL strings into the Fetcher. 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.
(method string, rawurl ...string)
| 200 | // if the URL string cannot be parsed, or if the Queue has been closed. |
| 201 | // The first return value is the number of URLs successfully enqueued. |
| 202 | func (q *Queue) SendString(method string, rawurl ...string) (int, error) { |
| 203 | return q.sendWithMethod(method, rawurl) |
| 204 | } |
| 205 | |
| 206 | // SendStringHead enqueues the URL strings to be fetched with a HEAD method. |
| 207 | // It returns an error if the URL string cannot be parsed, or if the Queue has been closed. |