Demonik
Crossplatform VarArg PInvoke
What's the current correct way to declare PInvoke C library function with vararg parameters that works on at least Mac, Windows, Android and Linux? I know the actual maximum number of parameters so I don't care if I have to write multiple functions, what I'm interested in is if it will work correctly on all platforms.
25 replies
RestSharp multipart request in from Unity fails with NRE after successfully sending request
With this stack trace:
This is what I'm doing:
It actually successfully sends request but immediately throws exception inside. Without attachment it works fine. Am I doing something wrong or is this a bug?
6 replies