### V2rayN Subscription UDP Relay Configuration Source: https://github.com/surgioproject/surgio/blob/master/src/provider/__tests__/__snapshots__/V2rayNSubscribeProvider.test.ts.md Demonstrates the output structure when udpRelay is enabled for a vmess node configuration. ```javascript [ { alterId: '64', hostname: '1.1.1.1', method: 'auto', network: 'ws', nodeName: '测试 1', port: 8080, tls: false, type: 'vmess', udpRelay: true, uuid: '1386f85e-657b-4d6e-9d56-78badb75e1fd', wsOpts: { headers: { Host: 'example.com' }, path: '/' } } ] ``` -------------------------------- ### Shadowsocks Node Configuration Snapshots Source: https://github.com/surgioproject/surgio/blob/master/src/provider/__tests__/__snapshots__/SsdProvider.test.ts.md These JSON snapshots represent the expected output of the SsdProvider when processing node configurations. They demonstrate various states including standard node definitions, custom node names, and UDP relay enabled configurations. ```json [ { "hostname": "45.45.45.45", "method": "aes-128-gcm", "nodeName": "US GIA", "obfs": "tls", "obfsHost": "www.taobao.com", "password": "password", "port": 444, "type": "shadowsocks", "udpRelay": false }, { "hostname": "55.55.55.55", "method": "aes-128-gcm", "nodeName": "HK GIA", "obfs": "http", "obfsHost": "www.taobao.com", "password": "password", "port": 444, "type": "shadowsocks", "udpRelay": false } ] ``` -------------------------------- ### V2rayN Subscription Compatible Mode Output Source: https://github.com/surgioproject/surgio/blob/master/src/provider/__tests__/__snapshots__/V2rayNSubscribeProvider.test.ts.md Shows the specific node configuration output when the provider is running in compatible mode, ensuring legacy or specific client compatibility. ```javascript [ { alterId: '64', hostname: '1.1.1.1', method: 'auto', network: 'ws', nodeName: '测试 1', port: 8080, tls: false, type: 'vmess', udpRelay: false, uuid: '1386f85e-657b-4d6e-9d56-78badb75e1fd', wsOpts: { headers: { Host: 'example.com' }, path: '/' } } ] ``` -------------------------------- ### Define ClashProvider proxy node configuration schema Source: https://github.com/surgioproject/surgio/blob/master/src/provider/__tests__/__snapshots__/ClashProvider.test.ts.md This JSON structure represents the output format for various proxy types supported by the ClashProvider. It serves as a reference for the expected properties required for different protocols like Shadowsocks, VMess, and Hysteria2. ```json [ { "hostname": "server", "method": "chacha20-ietf-poly1305", "nodeName": "ss1", "password": "password", "port": 443, "type": "shadowsocks", "udpRelay": true }, { "alterId": "32", "hostname": "server", "method": "auto", "network": "ws", "nodeName": "vmess new format", "port": 443, "skipCertVerify": true, "tls": true, "type": "vmess", "uuid": "uuid", "wsOpts": { "path": "/path" } }, { "hostname": "server.com", "nodeName": "hysteria2", "type": "hysteria2", "port": 443 } ] ``` -------------------------------- ### Retrieve V2rayN Subscription Data Structure Source: https://github.com/surgioproject/surgio/blob/master/src/provider/__tests__/__snapshots__/V2rayNSubscribeProvider.test.ts.md Represents the expected array of node objects returned by the getV2rayNSubscription method. This structure includes various proxy types such as shadowsocks and vmess with their respective configuration parameters. ```javascript [ { hostname: 'us.example.com', method: 'chacha20-ietf-poly1305', nodeName: '🇺🇸US 1', obfs: 'tls', obfsHost: 'gateway-carry.icloud.com', password: 'password', port: '443', skipCertVerify: false, tls13: false, type: 'shadowsocks', udpRelay: false }, { alterId: '64', hostname: '1.1.1.1', method: 'auto', network: 'ws', nodeName: '测试 1', port: 8080, tls: false, type: 'vmess', udpRelay: false, uuid: '1386f85e-657b-4d6e-9d56-78badb75e1fd', wsOpts: { headers: { Host: 'example.com' }, path: '/' } } ] ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.