GithubHelp home page GithubHelp logo

hprose / hprose-delphi Goto Github PK

View Code? Open in Web Editor NEW
116.0 116.0 35.0 860 KB

Hprose is a cross-language RPC. This project is Hprose 2.0 for Delphi and FreePascal

License: MIT License

C++ 0.19% Pascal 99.81%
cross-language cross-platform delphi delphinus delphinuspackage freepascal hprose lazarus list map pascal rpc rpc-client rpc-framework rpc-library serialization serialization-library serializer

hprose-delphi's Introduction

HPROSE is short for High Performance Remote Object Service Engine.

It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.

It contains a semi-text serialization format, an RPC protocol and its implementation. The meaning of semi-text is all the data are represented as text, except the original binary data. The serialization format is very compact. It takes up very little space, and can be parsed very quickly in programming language. You can use this serialization format without hprose RPC protocol in other communications protocols, data storage, and more. If you want to know more, please read Hprose Specification.

Join the chat at https://gitter.im/hprose/hprose

hprose-delphi's People

Contributors

andot avatar gitter-badger avatar pawe1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hprose-delphi's Issues

关于cookie的问题

首先感谢您的迅速反应,delphi2007 已可以正常编译了。

现在遇到cookie的问题

之前使用LastModified: Dec 29, 2012的HproseSynaHttpClient都正常
最近试了下最新版,cookie设置不正确

将 Synapse\HproseHttpClient.pas
539行的
SetCookie(Headers, FHost);
改为
SetCookie(HttpSend.Headers, FHost);
就正常了,会不会影响到其它的地方,尚且不知

另外请教一下,最新版python2的session设置问题

  1. 是否发布函数最后一个参数要写成 context,原来是 session
  2. 如果发布函数无参数,session如何添加,试了下写成如下形式
    def getsid(session):
    s = str(random.random())[2:]
    session['logonsid'] = s
    return s

app = HproseHttpService(sessionName='beaker.session')
app.add(getSid)

客户端如下调用
sid := client.Invoke('getsid', []); 报错提示必须要一个参数

上面服务端程序用 LastModified: Jan 4, 2014 版的 server.py(略作修改),客户端如上调用可正常工作

再一次感谢您的辛勤付出。

Compilation issue - Lazarus 2.2.0 with FPC 3.2.2

I tried installing the HProse Synapse version on Lazarus 2.2.0 with FPC 3.2.2 and got an error.

HproseCommon.pas(1371,15) Error: Can't determine which overloaded function to call

This is the line Result := Supports(nil, IID, AIntf)

Two questions

This is a very interesting project! Two questions if you don't mind:

  1. The Delphi implementation has the client only, but no server implementation, right?
  2. Do you have an example?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.