OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2014 Google Inc. | 3 * Copyright 2014 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 NSData *data, | 43 NSData *data, |
44 NSError *error))completionHandler; | 44 NSError *error))completionHandler; |
45 | 45 |
46 // Posts data to the specified URL. | 46 // Posts data to the specified URL. |
47 + (void)sendAsyncPostToURL:(NSURL *)url | 47 + (void)sendAsyncPostToURL:(NSURL *)url |
48 withData:(NSData *)data | 48 withData:(NSData *)data |
49 completionHandler:(void (^)(BOOL succeeded, | 49 completionHandler:(void (^)(BOOL succeeded, |
50 NSData *data))completionHandler; | 50 NSData *data))completionHandler; |
51 | 51 |
52 @end | 52 @end |
OLD | NEW |