Bonjour, je développe une application et j'utilise un HTTPService
je dois passer par un proxy pour utiliser la méthode PUT
et cela m'oblige à remplir le champ channel du service http

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
var httpserv:HTTPService = new HTTPService();
 
var chnlSet:ChannelSet = new ChannelSet();
chnlSet.addChannel(new AMFChannel("myAmf","http://localhost:80/eqa/messagebroker/amf"));
httpserv.channelSet = chnlSet;
 
httpserv.url = "http://localhost:81/innes/.medias/.generated/.animation/MeetingRoom/toto.ics";
httpserv.useProxy = true;
httpserv.method = "PUT";
 
httpserv.addEventListener(ResultEvent.RESULT, result);
httpserv.addEventListener(FaultEvent.FAULT, fault);
httpserv.send(tmpStringICS);
Quelqu'un sais t-il comment remplir le Channel dans la ligne :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
 
chnlSet.addChannel(new AMFChannel("myAmf","http://localhost:80/eqa/messagebroker/amf"));
Merci