Skip to content
This repository was archived by the owner on Jan 2, 2022. It is now read-only.
This repository was archived by the owner on Jan 2, 2022. It is now read-only.

Suggestion #20

Description

@insad

A kind suggestion to change the line

String methodName = handleName + "." + method.getName();

in method "JsonRpcInvoker.invoke()" by

    String methodName = (handleName != null ? handleName + "." : "") + method.getName();

This way a method without a handleName prefix can be called by setting null for the handleName parameter in "JsonRpcInvoker.get()" method, like is necessary e.g. for this server code: http://jsonrpcphp.org/ - it's not possible to have a method with a name like "handle.method()" in a PHP class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions