Files
faceclaw/App_Resources/iOS/src/FaceclawSseRequest.h
T

9 lines
335 B
Objective-C

#import <Foundation/Foundation.h>
/** Streaming POST. Events are polled by the owning JS isolate, including workers. */
@interface FaceclawSseRequest : NSObject <NSURLSessionDataDelegate>
- (instancetype)initWithURL:(NSString *)url body:(NSString *)body headers:(NSString *)headersJson;
- (NSString *)takeEvents;
- (void)cancel;
@end