New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support custom packet size and delay in MultipartForm uploads #3228
Comments
There is no equivalent in Alamofire, as it does not use streams for uploads. It's unlikely we'd ever add support for this, but what's your use case? |
hi jishier,thanks for response。Our server needs to limit the form data packet to 2kb when uploading files, and the time interval for each write is 100ms. In AFNetworking, I can set up like this:
|
You can get the same functionality by creating your own |
hey @jshier ,i find source code in |
Good point. This needs a bit more investigation. |
In AFNetworking we can upload a file custom packet size and delay time like this
throttleBandwidthWithPacketSize:(NSUInteger)numberOfBytes delay:(NSTimeInterval)delay;
but how can i do with Alamofire?thanks!
The text was updated successfully, but these errors were encountered: