登录
dnrops/websocket-kit
关注点赞复刻(Fork)
  • 主页
  • 代码库
  • 疑修(Issue)
  • 合并请求(PR)
  • 引擎(Engine)
  • 里程碑
  • 维基(Wiki)
  • 动态
目录
main
分支2
标签40
+ 疑修
Web IDE
Thomas Krajacic

Pass a copy of the control frame buffer to ping/pong callbacks (#116)

  • Pass a copy of the control frame buffer to callbacks

  • Add back old API

Since the new and old methods are only overloads and share the same name, the ‘renamed’ parameter of the deprecation warning doesn’t help.

  • Allow specifying payload when sending ping

  • Remove default value in favor of method forwarding

This preserves the signature of the original method and doesn’t break the API

  • Apply suggestions from code review

New APIs should use safe code


Co-authored-by: Tim Condon 0xTim@users.noreply.github.com

2年前122次提交
  • .api-breakageSendable Take 2 (#136)2年前
  • .githubSendable Take 2 (#136)2年前
  • SourcesPass a copy of the control frame buffer to ping/pong callbacks (#116)2年前
  • TestsPass a copy of the control frame buffer to ping/pong callbacks (#116)2年前
  • .gitignoreSendable Take 2 (#136)2年前
  • .spi.ymlUpdates for API docs (#128)2年前
  • LICENSE2.0.0 gm (#69)5年前
  • NOTICES.txtAdd support for proxying in `WebsocketClient` (#130)2年前
  • Package.swiftBump the swift-tools-version to 5.7 (#138)2年前
  • README.mdUpdate for new NIOSSL (#132)2年前
目录README.md

NIOWebSocketClient

API Docs Team Chat MIT License Continuous Integration Swift 5.6 Swift 5.8

关于
swift
README.md
462.0 KB
邀请码