<commit_before>package transport

import (
	"github.com/v2ray/v2ray-core/transport/internet/kcp"
	"github.com/v2ray/v2ray-core/transport/internet/tcp"
)

// Config for V2Ray transport layer.
type Config struct {
	tcpConfig *tcp.Config
	kcpConfig kcp.Config
}

// Apply applies this Config.
func (this *Config) Apply() error {
	if this.tcpConfig != nil {
		this.tcpConfig.Apply()
	}
	this.kcpConfig.Apply()
	return nil
}
<commit_msg>WS Conf structure<commit_after>package transport

import (
	"github.com/v2ray/v2ray-core/transport/internet/kcp"
	"github.com/v2ray/v2ray-core/transport/internet/tcp"
	"github.com/v2ray/v2ray-core/transport/internet/ws"
)

// Config for V2Ray transport layer.
type Config struct {
	tcpConfig *tcp.Config
	kcpConfig kcp.Config
	wsConfig  *ws.Config
}

// Apply applies this Config.
func (this *Config) Apply() error {
	if this.tcpConfig != nil {
		this.tcpConfig.Apply()
	}
	this.kcpConfig.Apply()
	if this.wsConfig != nil {
		this.wsConfig.Apply()
	}
	return nil
}

{'fraction_non_alphanumeric': 0.1283851554663992, 'fraction_numerical': 0.012036108324974924, 'mean_word_length': 4.015075376884422, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1028351', 'n_tokens_mistral': 377, 'n_tokens_neox': 373, 'n_words': 75}