zoukankan      html  css  js  c++  java
  • DSHTTPService

    DSHTTPService

    Filters

    压缩过滤器的使用

    The Filters property specifies the DataSnap communication filters for an in-process instance.

    The Filters property represents a collection of filters used to process the byte stream. 

    http://127.0.0.1:8080/datasnap/rest/TServerMethods1/EchoString/Hello

    RESTContext

    属性可以置为空,那么访问地址就少了rest分隔,变为

    http://127.0.0.1:8080/datasnap/TServerMethods1/EchoString/Hello

    The RESTContext property specifies the REST URL context, like in http://my.site.com/datasnap/rest/.... In the given example, rest denotes that the request is a REST request and that it is processed by a REST service.  

    DSContext

    DSContext属性同上。

    Specifies the DataSnap context for the connection. The standard DataSnap context is datasnap/. For example, to invoke a server method, the standard URL is http://host:port/datasnap/ClassName/MethodName/ParamValue.  

    最终地址变为

    http://127.0.0.1:8080/TServerMethods1/EchoString/Hello

  • 相关阅读:
    zabbix迁移思路
    top命令
    random随机数
    判断传入元素是否可见
    title_contains
    1.Selenium的工作原理以及网页上查找元素
    APP升级测试
    英语词汇
    作文 |素材笔记
    408计组 |二、数据的表示和运算
  • 原文地址:https://www.cnblogs.com/cb168/p/5368416.html
Copyright © 2011-2022 走看看