Example code for EdgeRocket