MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    mirai-api-http 2.0 的 websocket 适配器如何上传图片?

    HTTP API和第三方SDK
    2
    2
    363
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Wybxc
      Wybxc last edited by

      文档里没写,是不是还不支持?

      1 Reply Last reply Reply Quote 0
      • ryoii
        ryoii 梦中的鸡翅 last edited by

        websocket的文件上传涉及到单 socket 阻塞的问题,目前不支持文件格式的上传,可以考虑通过 url、path、base64的方式

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact