【文件属性】:
文件名称:any-http-jquery:用于 jQuery 的 AnyHTTP 适配器
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-29 11:34:53
JavaScript
用于 jQuery 的 AnyHTTP 适配器
库的适配器。
用法
此适配器实现为能够与被安装的ES6模块并加载经由如下:
import { Http } from 'github:argo-rest/any-http-jquery' ;
var httpClient = new Http ;
httpClient .
get ( 'https://example.com' ) .
then ( ( { body , headers } ) => {
console . log ( "body:" , body ) ;
console . log ( "content-type:" , headers [ 'Content-Type' ] ) ;
} ) ;
【文件预览】:
any-http-jquery-master
----src()
--------any-http-jquery.js(1KB)
----README.md(589B)
----.editorconfig(166B)
----.gitignore(27B)
----package.json(648B)