积分充值
 首页
前端开发
AngularDartElectronFlutterHTML/CSSJavaScriptReactSvelteTypeScriptVue.js构建工具
后端开发
.NetC#C++C语言DenoffmpegGoIdrisJavaJuliaKotlinLeanMakefilenimNode.jsPascalPHPPythonRISC-VRubyRustSwiftUML其它语言区块链开发测试微服务敏捷开发架构设计汇编语言
数据库
Apache DorisApache HBaseCassandraClickHouseFirebirdGreenplumMongoDBMySQLPieCloudDBPostgreSQLRedisSQLSQLiteTiDBVitess数据库中间件数据库工具数据库设计
系统运维
AndroidDevOpshttpdJenkinsLinuxPrometheusTraefikZabbix存储网络与安全
云计算&大数据
Apache APISIXApache FlinkApache KarafApache KyuubiApache OzonedaprDockerHadoopHarborIstioKubernetesOpenShiftPandasrancherRocketMQServerlessService MeshVirtualBoxVMWare云原生CNCF机器学习边缘计算
综合其他
BlenderGIMPKiCadKritaWeblate产品与服务人工智能亿图数据可视化版本控制笔试面试
文库资料
前端
AngularAnt DesignBabelBootstrapChart.jsCSS3EchartsElectronHighchartsHTML/CSSHTML5JavaScriptJerryScriptJestReactSassTypeScriptVue前端工具小程序
后端
.NETApacheC/C++C#CMakeCrystalDartDenoDjangoDubboErlangFastifyFlaskGinGoGoFrameGuzzleIrisJavaJuliaLispLLVMLuaMatplotlibMicronautnimNode.jsPerlPHPPythonQtRPCRubyRustR语言ScalaShellVlangwasmYewZephirZig算法
移动端
AndroidAPP工具FlutterFramework7HarmonyHippyIoniciOSkotlinNativeObject-CPWAReactSwiftuni-appWeex
数据库
ApacheArangoDBCassandraClickHouseCouchDBCrateDBDB2DocumentDBDorisDragonflyDBEdgeDBetcdFirebirdGaussDBGraphGreenPlumHStreamDBHugeGraphimmudbIndexedDBInfluxDBIoTDBKey-ValueKitDBLevelDBM3DBMatrixOneMilvusMongoDBMySQLNavicatNebulaNewSQLNoSQLOceanBaseOpenTSDBOracleOrientDBPostgreSQLPrestoDBQuestDBRedisRocksDBSequoiaDBServerSkytableSQLSQLiteTiDBTiKVTimescaleDBYugabyteDB关系型数据库数据库数据库ORM数据库中间件数据库工具时序数据库
云计算&大数据
ActiveMQAerakiAgentAlluxioAntreaApacheApache APISIXAPISIXBFEBitBookKeeperChaosChoerodonCiliumCloudStackConsulDaprDataEaseDC/OSDockerDrillDruidElasticJobElasticSearchEnvoyErdaFlinkFluentGrafanaHadoopHarborHelmHudiInLongKafkaKnativeKongKubeCubeKubeEdgeKubeflowKubeOperatorKubernetesKubeSphereKubeVelaKumaKylinLibcloudLinkerdLonghornMeiliSearchMeshNacosNATSOKDOpenOpenEBSOpenKruiseOpenPitrixOpenSearchOpenStackOpenTracingOzonePaddlePaddlePolicyPulsarPyTorchRainbondRancherRediSearchScikit-learnServerlessShardingSphereShenYuSparkStormSupersetXuperChainZadig云原生CNCF人工智能区块链数据挖掘机器学习深度学习算法工程边缘计算
UI&美工&设计
BlenderKritaSketchUI设计
网络&系统&运维
AnsibleApacheAWKCeleryCephCI/CDCurveDevOpsGoCDHAProxyIstioJenkinsJumpServerLinuxMacNginxOpenRestyPrometheusServertraefikTrafficUnixWindowsZabbixZipkin安全防护系统内核网络运维监控
综合其它
文章资讯
 上传文档  发布文章  登录账户
IT文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(245)Python(245)Scrapy(62)Django(58)Celery(45)Tornado(20)Flask(11)PyMuPDF(6)Jupyter(2)

语言

全部英语(243)法语(1)中文(简体)(1)

格式

全部PDF文档 PDF(136)其他文档 其他(109)
 
本次搜索耗时 0.026 秒,为您找到相关结果约 245 个.
  • 全部
  • 后端开发
  • Python
  • Scrapy
  • Django
  • Celery
  • Tornado
  • Flask
  • PyMuPDF
  • Jupyter
  • 全部
  • 英语
  • 法语
  • 中文(简体)
  • 全部
  • PDF文档 PDF
  • 其他文档 其他
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 websockets Documentation Release 5.0

    world!”: #!/usr/bin/env python import asyncio import websockets async def hello(uri): async with websockets.connect(uri) as websocket: await websocket.send("Hello world!") asyncio.get_event_loop().run_until_complete( Write a coroutine that handles a single connection. It receives a websocket protocol instance and the URI path in argument. – Call recv() and send() to receive and send messages at any time. – You may ping() handler. It must be a coroutine accepting two arguments: a WebSocketServerProtocol and the request URI. The host and port arguments, as well as unrecognized keyword arguments, are passed along to create_server()
    0 码力 | 56 页 | 245.43 KB | 1 年前
    3
  • pdf文档 websockets Documentation Release 6.0

    world!”: #!/usr/bin/env python import asyncio import websockets async def hello(uri): async with websockets.connect(uri) as websocket: await websocket.send("Hello world!") asyncio.get_event_loop().run_until_complete( Write a coroutine that handles a single connection. It receives a websocket protocol instance and the URI path in argument. – Call recv() and send() to receive and send messages at any time. – You may ping() handler. It must be a coroutine accepting two arguments: a WebSocketServerProtocol and the request URI. The host and port arguments, as well as unrecognized keyword arguments, are passed along to create_server()
    0 码力 | 58 页 | 253.08 KB | 1 年前
    3
  • pdf文档 websockets Documentation Release 4.0

    world!”: #!/usr/bin/env python import asyncio import websockets async def hello(uri): async with websockets.connect(uri) as websocket: await websocket.send("Hello world!") asyncio.get_event_loop().run_until_complete( Write a coroutine that handles a single connection. It receives a websocket protocol instance and the URI path in argument. – Call recv() and send() to receive and send messages at any time. – You may ping() handler. It must be a coroutine accepting two arguments: a WebSocketServerProtocol and the request URI. The host and port arguments, as well as unrecognized keyword arguments, are passed along to create_server()
    0 码力 | 48 页 | 224.70 KB | 1 年前
    3
  • pdf文档 websockets Documentation Release 3.3

    Write a coroutine that handles a single connection. It receives a websocket protocol instance and the URI path in argument. – Call recv() and send() to receive and send messages at any time. – You may ping() handler. It must be a coroutine accepting two arguments: a WebSocketServerProtocol and the request URI. serve() is a wrapper around the event loop’s create_server() method. host, port as well as extra value) pairs. It can also be a callable taking the request path and headers in arguments. Return the URI of the request. static select_subprotocol(client_protos, server_protos) Pick a subprotocol among
    0 码力 | 32 页 | 176.18 KB | 1 年前
    3
  • pdf文档 websockets Documentation Release 3.2

    Write a coroutine that handles a single connection. It receives a websocket protocol instance and the URI path in argument. – Call recv() and send() to receive and send messages at any time. – You may ping() handler. It must be a coroutine accepting two arguments: a WebSocketServerProtocol and the request URI. serve() is a wrapper around the event loop’s create_server() method. host, port as well as extra value) pairs. It can also be a callable taking the request path and headers in arguments. Return the URI of the request. select_subprotocol(client_protos, server_protos) Pick a subprotocol among those offered
    0 码力 | 32 页 | 170.46 KB | 1 年前
    3
  • pdf文档 websockets Documentation Release 2.7

    Write a coroutine that handles a single connection. It receives a websocket protocol instance and the URI path in argument. – Call recv() and send() to receive and send messages at any time. – You may ping() handler. It must be a coroutine accepting two arguments: a WebSocketServerProtocol and the request URI. serve() accepts several optional arguments: •origins defines acceptable Origin HTTP headers — include value) pairs. It can also be a callable taking the request path and headers in arguments. Return the URI of the request. select_subprotocol(client_protos, server_protos) Pick a subprotocol among those offered
    0 码力 | 28 页 | 157.50 KB | 1 年前
    3
  • pdf文档 websockets Documentation Release 3.4

    Write a coroutine that handles a single connection. It receives a websocket protocol instance and the URI path in argument. – Call recv() and send() to receive and send messages at any time. – You may ping() handler. It must be a coroutine accepting two arguments: a WebSocketServerProtocol and the request URI. The host and port arguments, as well as unrecognized keyword arguments, are passed along to create_server() and headers in arguments. Raise InvalidHandshake or a subclass if the handshake fails. Return the URI of the request. process_request(path, request_headers) Intercept the HTTP request and return an HTTP
    0 码力 | 36 页 | 192.66 KB | 1 年前
    3
  • pdf文档 websockets Documentation Release 1.0

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.4 URI parser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #!/usr/bin/env python import asyncio import websockets @asyncio.coroutine def hello(websocket, uri): name = yield from websocket.recv() print("< {}".format(name)) greeting = "Hello {}!".format(name) handler. It must be a coroutine accepting two arguments: a WebSocketServerProtocol and the request URI. The host and port arguments and other keyword ar- guments are passed to create_server. Whenever a
    0 码力 | 25 页 | 137.62 KB | 1 年前
    3
  • pdf文档 websockets Documentation Release 9.0

    /usr/bin/env python import asyncio import websockets async def hello(): uri = "ws://localhost:8765" async with websockets.connect(uri) as websocket: await websocket.send("Hello world!") await websocket.recv() client example import asyncio import websockets async def hello(): uri = "ws://localhost:8765" async with websockets.connect(uri) as websocket: name = input("What's your name? ") await websocket.send(name) ssl_context.load_verify_locations(localhost_pem) async def hello(): uri = "wss://localhost:8765" async with websockets.connect( uri, ssl=ssl_context ) as websocket: name = input("What's your name? ")
    0 码力 | 81 页 | 352.88 KB | 1 年前
    3
  • pdf文档 websockets Documentation Release 2.2

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.4 URI parser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . handler. It must be a coroutine accepting two arguments: a WebSocketServerProtocol and the request URI. If provided, origin is a list of acceptable Origin HTTP headers. Include ’’ if the lack of an origin Documentation, Release 2.2.0 Return the URI of the request. 3.2 Client The websockets.client module defines a simple WebSocket client API. websockets.client.connect(uri, *, klass=WebSocketClientProtocol,
    0 码力 | 27 页 | 143.46 KB | 1 年前
    3
共 245 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 25
前往
页
相关搜索词
websocketsDocumentationRelease5.06.04.03.33.22.73.41.09.02.2
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩