<commit_before><?php

namespace lb\controllers\console;

class SwooleController
{
    public function test()
    {
        $server = new Swoole\Http\Server('127.0.0.1', 9501);

        $server->on('Request', function ($request, $response) {
            $response->end(" swoole response is ok");
        });

        $server->start();
    }
}<commit_msg>intergreate swoole<commit_after><?php

namespace lb\controllers\console;

use \Swoole\Http\Server as HttpServer;

class SwooleController
{
    public function test()
    {
        $server = new HttpServer('127.0.0.1', 9501);

        $server->on('Request', function ($request, $response) {
            $response->end($request->header('REQUEST_URI'));
        });

        $server->start();
    }
}
{'fraction_non_alphanumeric': 0.16133333333333333, 'fraction_numerical': 0.02666666666666667, 'mean_word_length': 2.736318407960199, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1546680', 'n_tokens_mistral': 245, 'n_tokens_neox': 231, 'n_words': 45}