承接 raylin666/client 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

raylin666/client

Composer 安装命令:

composer require raylin666/client

包简介

The underlying encapsulation of swoole client.

README 文档

README

GitHub release PHP version GitHub license

环境要求

  • PHP >=7.3

安装说明

composer require "raylin666/client"

使用方式

<?php

require_once 'vendor/autoload.php';

go(function () {
    $client = new Raylin666\Client\Client;
    $swooleClient = $client()->getFactory()->getClient();

    $options = new Raylin666\Client\Swoole\SwooleClientOptions;
    $swooleClient->set($options);

    $swooleClient->connect('127.0.0.1', 9903);
    $swooleClient->send(['a' => 'c']);
    $result = $swooleClient->recv();
    var_dump($result);
    $swooleClient->close();
});

\Swoole\Event::wait();

更新日志

请查看 CHANGELOG.md

联系

如果你在使用中遇到问题,请联系: 1099013371@qq.com. 博客: kaka 梦很美

License MIT

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2021-07-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固