Files
Zorg 2f33f56afb Fix QoS warning when running Test app server on main thread (#2873)
Move web server work on background thread and don't block main thread. No need to close connection on termination.
2026-05-03 17:36:01 -07:00

18 lines
397 B
Objective-C

//
// SUTestWebServer.h
// Sparkle
//
// Created by Kevin Wojniak on 10/8/15.
// Copyright © 2015 Sparkle Project. All rights reserved.
//
#import <Foundation/Foundation.h>
SPU_OBJC_DIRECT_MEMBERS @interface SUTestWebServer : NSObject
- (instancetype)initWithPort:(int)port workingDirectory:(NSString*)workingDirectory;
- (void)startWithReadyHandler:(dispatch_block_t)readyHandler;
@end