export const serverAdress = "http://localhost:5000" export const wsServerAdress = "ws://localhost:5000" //export const serverAdress = "https://halitaksoy.com/mancala" //export const wsServerAdress = "wss://halitaksoy.com/mancala/" interface HttpService { get: (route: string, succes: () => any, error: () => any) => any } class HttpServiceImpl implements HttpService{ public serverAdress : string constructor(serverAdress : string){ this.serverAdress = serverAdress } public get(route: string, succes: () => any, error: () => any) : any { } }