Example #1
0
File: easy.go Project: ym/go-curl
// curl_easy_perform - Perform a file transfer
func (curl *CURL) Perform() error {
	p := curl.handle
	return newCurlError(C.curl_easy_perform(p))
}
Example #2
0
func (easy *Easy) Perform() error {
	return easy.getError(C.curl_easy_perform(easy.cptr))
}