masroore / CurlSharp

CurlSharp - .Net binding and object-oriented wrapper for libcurl.
BSD 3-Clause "New" or "Revised" License
182 stars 71 forks source link

How do I upload wav file to server? #44

Closed ryysoft closed 4 years ago

ryysoft commented 4 years ago

when i use upload sample,i get error: Object 包含非基元或非直接复制到本机结构中的数据。 Object contains non-primitive or non-blittable data. (Parameter 'value') after i add : easy.SetOpt(CurlOption.HttpHeader, "content - type = audio / x - raw"); error occur again thanks

ryysoft commented 4 years ago

why closed?