This repository was archived by the owner on Dec 2, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +14
-0
lines changed Expand file tree Collapse file tree 8 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 21
21
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
22
// THE SOFTWARE.
23
23
24
+ import Foundation
25
+
24
26
internal extension Client {
25
27
26
28
//MARK: - Pong
Original file line number Diff line number Diff line change 21
21
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
22
// THE SOFTWARE.
23
23
24
+ import Foundation
24
25
import Starscream
25
26
26
27
public final class Client: WebSocketDelegate {
Original file line number Diff line number Diff line change 21
21
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
22
// THE SOFTWARE.
23
23
24
+ import Foundation
25
+
24
26
public struct ClientOptions {
25
27
26
28
let simpleLatest : Bool ?
Original file line number Diff line number Diff line change 21
21
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
22
// THE SOFTWARE.
23
23
24
+ import Foundation
25
+
24
26
public struct History {
27
+
25
28
internal( set) public var latest : NSDate ?
26
29
internal( set) public var messages = [ Message] ( )
27
30
public let hasMore : Bool ?
Original file line number Diff line number Diff line change 21
21
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
22
// THE SOFTWARE.
23
23
24
+ import Foundation
25
+
24
26
public struct IncomingWebhook {
25
27
26
28
public let url : String ?
Original file line number Diff line number Diff line change 21
21
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
22
// THE SOFTWARE.
23
23
24
+ import Foundation
24
25
import Swifter
25
26
26
27
internal protocol OAuthDelegate {
Original file line number Diff line number Diff line change 21
21
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
22
// THE SOFTWARE.
23
23
24
+ import Foundation
24
25
import Swifter
25
26
26
27
internal enum Reply {
Original file line number Diff line number Diff line change 21
21
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
22
// THE SOFTWARE.
23
23
24
+ import Foundation
25
+
24
26
public final class SlackKit : OAuthDelegate {
25
27
26
28
internal( set) public var oauth : OAuthServer ?
You can’t perform that action at this time.
0 commit comments