1 class YourApp { 2 3 func application(_ sender: You) { 4 yourApp().start() 5 } 6 7 override func viewDidLoad() { 8 // Load your App! 9 super.viewDidLoad() 10 } 11 12 override func didReceiveMemoryWarning() { 13 // Dispose of any resources that can be recreated 14 super.didReceiveMemoryWarning() 15 } 16 17 }
1 package main { 2 import ( 3 "net/http" 4 "io" 5 "fmt" 6 ) 7 8 func main() { 9 http.HandleFunc("/", handler) 10 } 11 12 func handler(w http.ResponseWriter, r *http.Request) { 13 resp, err := http.Get("http://www.somesite.com/map.xml") 14 // Handle & check error 15 defer resp.Body.Close() 16 wh := w.Header() 17 wh.Add("content-type", resp.Header.Get("content-type")) 18 wh.Set("content-length", resp.Header.Get("content-length")) 19 wh.Add("Access-Control-Allow-Origin", "*") 20 w.WriteHeader(200) 21 io.Copy(w, resp.Body) 22 } - RAJA | Open sourced on GitHub.
You can count on our developers. We are here when you need support with any of our services.
No fuss. No matter the problem, we'll always do our best to help.
E-commerce. We automatically handle all sales analytics.
Speed. Every project is made efficiently and to the top speeds.
Fair prices. All prices are calculated fairly and we will always offer you the best possible price.
Mobile apps. iOS and Andriod apps will be available soon!
Secure connections. Every single request is routed through HTTPS.
We got you covered. Development is taken seriously and we can guarantee it'll be Done better.
We offer our services at competitive prices which are in line with market rates. To request an invoice or estimation for a project you have in mind, please RAJA88.