Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.cometd.HttpChannels"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dojox.cometd.HttpChannels"] = true;
dojo.provide("dojox.cometd.HttpChannels");
dojo.require("dojox.io.httpParse");
dojo.require("dojox.cometd.RestChannels");
// Note that cometd _base is _not_ required, this can run standalone, but ifyou want
// cometd functionality, you must explicitly load/require it elsewhere, and cometd._base
// MUST be loaded prior to HttpChannels ifyou use it.
// summary:
// HttpChannels - An HTTP Based approach to Comet transport with full HTTP messaging
// semantics including REST. HttpChannels is exactly the same as RestChannels, loading HttpChannels simply ensures that http parsing
// capabilities are present for application/http messages
// description:
// This can be used:
/*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.cometd.HttpChannels"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dojox.cometd.HttpChannels"] = true;
dojo.provide("dojox.cometd.HttpChannels");
dojo.require("dojox.io.httpParse");
dojo.require("dojox.cometd.RestChannels");
// Note that cometd _base is _not_ required, this can run standalone, but ifyou want
// cometd functionality, you must explicitly load/require it elsewhere, and cometd._base
// MUST be loaded prior to HttpChannels ifyou use it.
// summary:
// HttpChannels - An HTTP Based approach to Comet transport with full HTTP messaging
// semantics including REST. HttpChannels is exactly the same as RestChannels, loading HttpChannels simply ensures that http parsing
// capabilities are present for application/http messages
// description:
// This can be used:
// 1. As a cometd transport
/*
Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.cometd.HttpChannels"]){
dojo._hasResource["dojox.cometd.HttpChannels"]=true;
dojo.provide("dojox.cometd.HttpChannels");
dojo.require("dojox.io.httpParse");
dojo.require("dojox.cometd.RestChannels");
dojox.cometd.HttpChannels=dojox.cometd.RestChannels;
}
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.cometd.HttpChannels"]){
dojo._hasResource["dojox.cometd.HttpChannels"]=true;
dojo.provide("dojox.cometd.HttpChannels");
dojo.require("dojox.io.httpParse");
dojo.require("dojox.cometd.RestChannels");
dojox.cometd.HttpChannels=dojox.cometd.RestChannels;
}
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.cometd.HttpChannels"]){
dojo._hasResource["dojox.cometd.HttpChannels"]=true;
dojo.provide("dojox.cometd.HttpChannels");
dojo.require("dojox.io.httpParse");
dojo.require("dojox.cometd.RestChannels");
dojox.cometd.HttpChannels=dojox.cometd.RestChannels;
}
/*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.cometd.HttpChannels"]){dojo._hasResource["dojox.cometd.HttpChannels"]=true;dojo.provide("dojox.cometd.HttpChannels");dojo.require("dojox.io.httpParse");dojo.require("dojox.cometd.RestChannels");dojox.cometd.HttpChannels=dojox.cometd.RestChannels;}
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.cometd.HttpChannels"]){
dojo._hasResource["dojox.cometd.HttpChannels"]=true;
dojo.provide("dojox.cometd.HttpChannels");
dojo.require("dojox.io.httpParse");
dojo.require("dojox.cometd.RestChannels");
dojox.cometd.HttpChannels=dojox.cometd.RestChannels;
}
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.cometd.HttpChannels"]){
dojo._hasResource["dojox.cometd.HttpChannels"]=true;
dojo.provide("dojox.cometd.HttpChannels");
dojo.require("dojox.io.httpParse");
dojo.require("dojox.cometd.RestChannels");
dojox.cometd.HttpChannels=dojox.cometd.RestChannels;
}
/*
Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.cometd.HttpChannels"]){
dojo._hasResource["dojox.cometd.HttpChannels"]=true;
dojo.provide("dojox.cometd.HttpChannels");
dojo.require("dojox.io.httpParse");
dojo.require("dojox.cometd.RestChannels");
dojox.cometd.HttpChannels=dojox.cometd.RestChannels;
}