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
First of all, I want to say thanks to @adamhartford for giving us this amazing Signal R wrapper!
Alright, I’m really stuck with something here. I need to handle a response from my C# server that return an IEnumerable of Guid (IEnumerable). Here’s my code:
do {
if let hub = drawView.drawingHub {
try hub.invoke("AddStrokes", arguments: [[strokeDataDictionary]]) { (result, error) in
if let e = error {
print("Error: \(e)")
} else {
print("Success!")
if let r = result {
// Assing Stroke Is's...
// currentStroke.Id = result...
}
}
}
}
}
catch {
//handle error
print(error)
}
After trying couple of times, my code after the invoke is never getting called, even if my server returns an answer on is the side.
Does anyone have any advice? I know my server is working find on other C# clients. After debugging on the server side, I should correctly return a List of GUIDs. For debugging purposes, here’s my server code:
Hi! 😄
First of all, I want to say thanks to @adamhartford for giving us this amazing Signal R wrapper!
Alright, I’m really stuck with something here. I need to handle a response from my C# server that return an IEnumerable of Guid (IEnumerable). Here’s my code:
After trying couple of times, my code after the invoke is never getting called, even if my server returns an answer on is the side.
Does anyone have any advice? I know my server is working find on other C# clients. After debugging on the server side, I should correctly return a List of GUIDs. For debugging purposes, here’s my server code:
Does anyone have any idea?
Thank you very much!
The text was updated successfully, but these errors were encountered: