-
Notifications
You must be signed in to change notification settings - Fork 82
Description
Hi.
I have an issue where I am trying to connect to a host with a path (i.e: http://www.url.com/path_1/path_2/websocket) and STOMPKit does not seem to support this.
What I was going to try and do is send a "GET: /path_1/path_2" http header in the method:
- (void)connectWithHeaders:(NSDictionary *)headers
completionHandler:(void (^)(STOMPFrame *connectedFrame, NSError *error))completionHandler;
The headers are a dictionary it that have to be key/value pairs, I need to send other headers like a token and a country but as you can see when I add my GET header like as the key and the value as blank (@{@"GET /path_1/path_2/websocket": @""} ) it does the following (predictably) although the GET header needs to NOT have the colon after it.
Token = 6d40c7d26a94c56b4b1ee001318bb7d7;
"GET /path_1/path_2/websocket" = "";
"CountryCode" = GB;
Is there any way I can modify StompKit to do this?
James