forked from swiz/swiz-framework
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated URLRequestHelper and IURLRequestHelper to return the URLLoade…
…r rather than the URLRequest in order to better facilitate chaining.
- Loading branch information
1 parent
bccdb65
commit e213043
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
package org.swizframework.utils.services | ||
{ | ||
import flash.net.URLLoader; | ||
import flash.net.URLRequest; | ||
|
||
public interface IURLRequestHelper | ||
{ | ||
function executeURLRequest( request:URLRequest, resultHandler:Function, faultHandler:Function = null, | ||
progressHandler:Function = null, httpStatusHandler:Function = null, | ||
eventArgs:Array = null ):URLRequest | ||
eventArgs:Array = null ):URLLoader | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters