2023-07-24 08:07:05 +00:00
|
|
|
syntax = "v1"
|
|
|
|
|
|
|
|
info (
|
|
|
|
title: "websocket"// TODO: add title
|
|
|
|
desc: // TODO: add description
|
|
|
|
author: ""
|
|
|
|
email: ""
|
|
|
|
)
|
|
|
|
|
|
|
|
import "basic.api"
|
|
|
|
service websocket {
|
|
|
|
//websocket数据交互
|
|
|
|
@handler DataTransferHandler
|
2023-07-26 03:53:06 +00:00
|
|
|
get /api/websocket/data_transfer(request) returns (response);
|
2023-07-24 08:07:05 +00:00
|
|
|
}
|