문제

I need to open a HTTP link to the webserver which my air app is talking to but I don't want to hard-code the webserver URL into the Flex code. If I can get the endpoint URI then I can work from there. I'm using GraniteDS in case that is relevant.

도움이 되었습니까?

해결책

import mx.messaging.config.ServerConfig;

ServerConfig.getChannel(CHANNEL_ID).uri;

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top