You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- (void)testConnectToLocalhost {
XCTestExpectation *connectionExpectation = [self expectationWithDescription: @"should connect to localhost"];
[SIOSocket socketWithHost: @"ws://sdfsdf" response: ^(SIOSocket *socket) {
XCTAssertNotNil(socket, @"socket could not connect to localhost");
[connectionExpectation fulfill];
}];
[self waitForExpectationsWithTimeout: 10 handler: nil];
}
For any host this Socket will say that the connection is opened. Is there any reason why? Because I want to know if I can reach a specific WebSocket server, and this was the way that I was introduced to in Tests
The text was updated successfully, but these errors were encountered:
For any host this Socket will say that the connection is opened. Is there any reason why? Because I want to know if I can reach a specific WebSocket server, and this was the way that I was introduced to in Tests
The text was updated successfully, but these errors were encountered: