That title seemed like a mouthful.
I'm exploring Server Side Events with ServiceStack and this was my first foray into the technology, beyond the pre-compiled Chat application. When I run the project the console boots up fine and is listening on port 1337, but when I navigate to the ServerEventsTest.cshtml in the browser nothing works and it seems like a JavaScript error is being thrown
Here is the function in question.
$.ss.handleServerEvents(source, {
success: function (selector, msg, json) {
$events.insertAdjacentHTML("afterbegin", "<div><b>" + selector + "</b>: " + json + "</div>");
}
});
So my question is, once the function get's fixed how am I supposed to interact with this page, not of the commands and links seem to be functional.
I'm using 42.0.2289.0 (Official Build) canary (64-bit) browser.
Thank you, Stephen
Aucun commentaire:
Enregistrer un commentaire