| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 24 Dec 2025 03:37:44 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091202090522
location: https://web.archive.org/web/20091202090522/https://github.com/mojombo/bertrpc
server-timing: captures_list;dur=0.556655, exclusion.robots;dur=0.037654, exclusion.robots.policy;dur=0.028024, esindex;dur=0.010331, cdx.remote;dur=11.637874, LoadShardBlock;dur=252.806391, PetaboxLoader3.resolve;dur=135.636112, PetaboxLoader3.datanode;dur=106.763280
x-app-server: wwwb-app211-dc8
x-ts: 302
x-tr: 289
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app211; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 24 Dec 2025 03:37:44 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Wed, 02 Dec 2009 09:04:18 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "3713eb325d5678d817eedd60a54b963c"
x-archive-orig-x-runtime: 64ms
x-archive-orig-content-length: 29289
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 02 Dec 2009 09:05:22 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_13_20091202033902_crawl100_IndexOnly-c/51_13_20091202090417_crawl101.arc.gz
server-timing: captures_list;dur=0.690597, exclusion.robots;dur=0.024583, exclusion.robots.policy;dur=0.011276, esindex;dur=0.011525, cdx.remote;dur=7.371999, LoadShardBlock;dur=300.411898, PetaboxLoader3.datanode;dur=281.418473, PetaboxLoader3.resolve;dur=69.840968, load_resource;dur=143.297215
x-app-server: wwwb-app211-dc8
x-ts: 200
x-tr: 523
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
mojombo's bertrpc at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| Description: | BERTRPC is a Ruby BERT-RPC client library. edit |
| Homepage: | edit |
| Public Clone URL: |
git://github.com/mojombo/bertrpc.git
Give this clone URL to anyone.
git clone git://github.com/mojombo/bertrpc.git
|
| Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:mojombo/bertrpc.git
|
bertrpc /
| name | age | message | |
|---|---|---|---|
| |
.document | Mon May 18 19:33:40 -0700 2009 | add readme [mojombo] |
| |
.gitignore | Mon May 18 19:24:30 -0700 2009 | Initial commit to bertrpc. [mojombo] |
| |
History.txt | Sat Nov 28 10:52:48 -0800 2009 | update history for 1.1.2 release [mojombo] |
| |
LICENSE | Mon May 18 19:24:30 -0700 2009 | Initial commit to bertrpc. [mojombo] |
| |
README.md | Tue Oct 27 15:13:13 -0700 2009 | make socket read timeout raise a BERTRPC::ReadT... [mojombo] |
| |
Rakefile | Sat Nov 28 10:52:19 -0800 2009 | better dep spec for bert; cleanup Rakefile [mojombo] |
| |
VERSION | Sat Nov 28 10:53:13 -0800 2009 | Version bump to 1.1.2 [mojombo] |
| |
bertrpc.gemspec | Sat Nov 28 10:53:25 -0800 2009 | Regenerated gemspec for version 1.1.2 [mojombo] |
| |
lib/ | Sat Nov 28 10:47:54 -0800 2009 | add BERTRPC::VERSION and BERTRPC.version [mojombo] |
| |
test/ | Fri Nov 27 13:50:09 -0800 2009 | Switch to using raw socket timeouts over buffer... [defunkt] |
README.md
BERTRPC
By Tom Preston-Werner (tom@mojombo.com)
BERT-RPC client library for Ruby. Makes it ridiculously simple to interface with BERT-RPC servers.
See the full BERT-RPC specification at bert-rpc.org.
This library currently only supports the following BERT-RPC features:
callrequestscastrequests
BERTRPC was developed for GitHub and is currently in production use performing millions of RPC requests every day. The stability and performance have been exemplary.
Installation
$ gem install bertrpc -s https://gemcutter.org
Examples
Require the library and create a service:
require 'bertrpc'
svc = BERTRPC::Service.new('localhost', 9999)
Make a call:
svc.call.calc.add(1, 2)
# => 3
The underlying BERT-RPC transaction of the above call is:
-> {call, calc, add, [1, 2]}
<- {reply, 3}
Make a cast:
svc.cast.stats.incr
# => nil
The underlying BERT-RPC transaction of the above cast is:
-> {cast, stats, incr, []}
<- {noreply}
Documentation
Creating a service:
# No timeout
svc = BERTRPC::Service.new('localhost', 9999)
# 10s socket read timeout, raises BERTRPC::ReadTimeoutError
svc = BERTRPC::Service.new('localhost', 9999, 10)
Copyright
Copyright (c) 2009 Tom Preston-Werner. See LICENSE for details.
This feature is coming soon. Sit tight!







