[WEBSOCKET_SPEC-186] The API and annotation examples in 2.1.4 are not equivalent. Created: 18/Apr/13 Updated: 23/Apr/13 Resolved: 23/Apr/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
The annotation example includes a path mapping, so it not only defines an EndPoint but adds it to the ServerContainer.
To make the API version equivalent, it needs to following line to be run either as a static initialiser or some other method:
|Comment by dannycoward [ 23/Apr/13 ]|
Thanks for catching it. Since its early on in the spec I just noted the difference to avoid confusion. I didn't want to have to get into all the config api to explain hello world !