zoukankan      html  css  js  c++  java
  • spring netty-socket.io

    spring-nettysocketio.xml文件内容如下:

    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
    xsi:schemaLocation="
    http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
    http://www.springframework.org/schema/context
    http://www.springframework.org/schema/context/spring-context-3.0.xsd">

    <bean id="socketioConfig" class="com.corundumstudio.socketio.Configuration">
    <property name="hostname" value="${socketio.host}" />
    <property name="port" value="${socketio.port}" />
    <property name="heartbeatTimeout" value="${socketio.heartbeatTimeout}" />
    </bean>

    <bean id="socketIOServer" class="com.corundumstudio.socketio.SocketIOServer"
    scope="singleton" init-method="start" lazy-init="false">
    <constructor-arg ref="socketioConfig" />
    </bean>
    </beans>

  • 相关阅读:
    网站添加背景音乐
    解决项目上的红色感叹号
    1.12那些年你不知道的爬虫面试题
    1.11you-get 视频爬取
    1.10pytesseract
    1.9Pyppeteer
    1.8request-html
    1.7XPath
    1.6Selenium XPath
    1.5cookies
  • 原文地址:https://www.cnblogs.com/man-li/p/4476223.html
Copyright © 2011-2022 走看看