示例#1
0
文件: easy.go 项目: ym/go-curl
// curl_easy_reset - reset all options of a libcurl session handle
func (curl *CURL) Reset() {
	p := curl.handle
	C.curl_easy_reset(p)
}
示例#2
0
func (easy *Easy) Reset() {
	C.curl_easy_reset(easy.cptr)
	easy.writeFunc = nil
	easy.writeData = nil
}