معرفی شرکت ها


http-browserify-1.7.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

http module compatability for browserify
ویژگی مقدار
سیستم عامل -
نام فایل http-browserify-1.7.0
نام http-browserify
نسخه کتابخانه 1.7.0
نگهدارنده ['feross', 'gkatsev', 'zertosh', 'mafintosh', 'maxogden', 'thlorenz', 'terinjokes', 'jmm', 'mellowmelon', 'ashaffer88', 'balupton', 'cwmma', 'jprichardson', 'indutny', 'jryans', 'sethvincent', 'yoshuawuyts', 'ungoldman', 'ahdinosaur', 'elnounch', 'parshap', 'yerkopalma', 'forbeslindesay', 'leichtgewicht', 'garann', 'bret', 'anandthakker', 'mattdesl', 'hughsk', 'fpereira1', 'goto-bus-stop', 'bpostlethwaite', 'emilbayes', 'stevemao', 'pkrumins', 'tehshrike', 'defunctzombie', 'lukechilds', 'raynos']
ایمیل نگهدارنده ['feross@feross.org', 'me@gkatsev.com', 'zertosh@gmail.com', 'mathiasbuus@gmail.com', 'max@maxogden.com', 'thlorenz10@gmail.com', 'terinjokes@gmail.com', 'npm-public@jessemccarthy.net', 'palmermebane@gmail.com', 'darawk@gmail.com', 'b@lupton.cc', 'calvin.metcalf@gmail.com', 'jprichardson@gmail.com', 'blackhole@livebox.sh', 'jryans@gmail.com', 'sethvincent@gmail.com', 'javascript@yosh.is', 'ungoldman@gmail.com', 'michael.williams@enspiral.com', 'contact@elnounch.net', 'parshap+npm@gmail.com', 'yerko.palma@usach.cl', 'forbes@lindesay.co.uk', 'martin.heidegger@gmail.com', 'garann@gmail.com', 'bcomnes@gmail.com', 'vestibule@anandthakker.net', 'dave.des@gmail.com', 'hughskennedy@gmail.com', 'pereira.filype@gmail.com', 'renee@kooi.me', 'post.ben.here@gmail.com', 'github@tixz.dk', 'maochenyan@gmail.com', 'peteris.krumins@gmail.com', 'me@JoshDuff.com', 'shtylman@gmail.com', 'lukechilds123@gmail.com', 'raynos2@gmail.com']
نویسنده James Halliday
ایمیل نویسنده mail@substack.net
آدرس صفحه اصلی http://github.com/substack/http-browserify.git
آدرس اینترنتی https://github.com/substack/http-browserify
مجوز MIT/X11
# http-browserify The [http](http://nodejs.org/docs/v0.4.10/api/all.html#hTTP) module from node.js, but for browsers. When you `require('http')` in [browserify](http://github.com/substack/node-browserify), this module will be loaded. # example ``` js var http = require('http'); http.get({ path : '/beep' }, function (res) { var div = document.getElementById('result'); div.innerHTML += 'GET /beep<br>'; res.on('data', function (buf) { div.innerHTML += buf; }); res.on('end', function () { div.innerHTML += '<br>__END__'; }); }); ``` # http methods var http = require('http'); ## var req = http.request(opts, cb) where `opts` are: * `opts.method='GET'` - http method verb * `opts.path` - path string, example: `'/foo/bar?baz=555'` * `opts.headers={}` - as an object mapping key names to string or Array values * `opts.host=window.location.host` - http host * `opts.port=window.location.port` - http port * `opts.responseType` - response type to set on the underlying xhr object The callback will be called with the response object. ## var req = http.get(options, cb) A shortcut for ``` js options.method = 'GET'; var req = http.request(options, cb); req.end(); ``` # request methods ## req.setHeader(key, value) Set an http header. ## req.getHeader(key) Get an http header. ## req.removeHeader(key) Remove an http header. ## req.write(data) Write some data to the request body. If only 1 piece of data is written, `data` can be a FormData, Blob, or ArrayBuffer instance. Otherwise, `data` should be a string or a buffer. ## req.end(data) Close and send the request body, optionally with additional `data` to append. # response methods ## res.getHeader(key) Return an http header, if set. `key` is case-insensitive. # response attributes * res.statusCode, the numeric http response code * res.headers, an object with all lowercase keys # compatibility This module has been tested and works with: * Internet Explorer 5.5, 6, 7, 8, 9 * Firefox 3.5 * Chrome 7.0 * Opera 10.6 * Safari 5.0 Multipart streaming responses are buffered in all versions of Internet Explorer and are somewhat buffered in Opera. In all the other browsers you get a nice unbuffered stream of `"data"` events when you send down a content-type of `multipart/octet-stream` or similar. # protip You can do: ````javascript var bundle = browserify({ require : { http : 'http-browserify' } }); ```` in order to map "http-browserify" over `require('http')` in your browserified source. # install With [npm](https://npmjs.org) do: ``` npm install http-browserify ``` # license MIT


نیازمندی

مقدار نام
~0.2.0 Base64
~2.0.1 inherits


نحوه نصب


نصب پکیج tgz http-browserify-1.7.0:

    npm install http-browserify-1.7.0.tgz