CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 28 Aug 2025 04:30:30 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090608002858
location: https://web.archive.org/web/20090608002858/https://github.com/raggi/object_protocol/tree
server-timing: captures_list;dur=0.665777, exclusion.robots;dur=0.025305, exclusion.robots.policy;dur=0.011747, esindex;dur=0.012531, cdx.remote;dur=90.077103, LoadShardBlock;dur=367.549585, PetaboxLoader3.datanode;dur=156.916380, PetaboxLoader3.resolve;dur=65.419859
x-app-server: wwwb-app204
x-ts: 302
x-tr: 495
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app204; path=/
x-location: All
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 301
server: nginx
date: Thu, 28 Aug 2025 04:30:31 GMT
content-type: text/html; charset=utf-8
content-length: 117
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Mon, 08 Jun 2009 00:28:58 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090608002858/https://github.com/raggi/object_protocol/tree/master
x-archive-orig-x-runtime: 104ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 117
cache-control: max-age=1800
memento-datetime: Mon, 08 Jun 2009 00:28:58 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 19 Apr 2008 08:34:05 GMT", ; rel="prev memento"; datetime="Sat, 06 Sep 2008 22:13:09 GMT", ; rel="memento"; datetime="Mon, 08 Jun 2009 00:28:58 GMT", ; rel="last memento"; datetime="Mon, 08 Jun 2009 00:28:58 GMT"
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: 52_10_20090607161336_crawl101_IndexOnly-c/52_10_20090608002759_crawl101.arc.gz
server-timing: captures_list;dur=0.630150, exclusion.robots;dur=0.025054, exclusion.robots.policy;dur=0.012260, esindex;dur=0.011714, cdx.remote;dur=5.816223, LoadShardBlock;dur=180.734809, PetaboxLoader3.datanode;dur=137.542455, PetaboxLoader3.resolve;dur=421.316202, load_resource;dur=387.714949
x-app-server: wwwb-app204
x-ts: 301
x-tr: 602
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
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 302
server: nginx
date: Thu, 28 Aug 2025 04:30:31 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090607233813
location: https://web.archive.org/web/20090607233813/https://github.com/raggi/object_protocol/tree/master
server-timing: captures_list;dur=0.720697, exclusion.robots;dur=0.028346, exclusion.robots.policy;dur=0.015310, esindex;dur=0.014919, cdx.remote;dur=10.434229, LoadShardBlock;dur=225.973867, PetaboxLoader3.datanode;dur=175.442535, PetaboxLoader3.resolve;dur=43.153540
x-app-server: wwwb-app204
x-ts: 302
x-tr: 264
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
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: Thu, 28 Aug 2025 04:30:32 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Sun, 07 Jun 2009 23:38:12 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 204ms
x-archive-orig-etag: "60a8aa4ed34d62d45e4fb061a59dc706"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 22489
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 07 Jun 2009 23:38:13 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 19 Apr 2008 08:34:05 GMT", ; rel="prev memento"; datetime="Sat, 06 Jun 2009 10:19:13 GMT", ; rel="memento"; datetime="Sun, 07 Jun 2009 23:38:13 GMT", ; rel="last memento"; datetime="Sun, 07 Jun 2009 23:38:13 GMT"
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: 52_10_20090607161336_crawl101_IndexOnly-c/52_10_20090607233756_crawl101.arc.gz
server-timing: captures_list;dur=0.845836, exclusion.robots;dur=0.030722, exclusion.robots.policy;dur=0.014771, esindex;dur=0.016975, cdx.remote;dur=15.314247, LoadShardBlock;dur=181.798344, PetaboxLoader3.datanode;dur=111.881378, PetaboxLoader3.resolve;dur=181.286894, load_resource;dur=150.519702
x-app-server: wwwb-app204
x-ts: 200
x-tr: 403
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
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
raggi's object_protocol 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 (

Run the following if you haven't already:
gem sources -a https://gems.github.com
Install the gem(s):
sudo gem install raggi-object_protocol
Description: | An Object Protocol for ruby. |
Homepage: | https://github.com/raggi/object_protocol |
Clone URL: |
git://github.com/raggi/object_protocol.git
Give this clone URL to anyone.
git clone git://github.com/raggi/object_protocol.git
|
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Loading commit data... ![]() |
|
![]() |
History.txt | Wed Oct 01 18:19:10 -0700 2008 | Initial commit of Object Protocol [raggi] |
![]() |
Manifest.txt | ||
![]() |
README.txt | ||
![]() |
Rakefile | ||
![]() |
lib/ | ||
![]() |
object_protocol.gemspec | ||
![]() |
spec/ | ||
![]() |
tasks/ | Wed Oct 01 18:19:10 -0700 2008 | Initial commit of Object Protocol [raggi] |
object_protocol by James Tucker https://ra66i.org https://github.com/raggi/object_protocol == DESCRIPTION: An Object Protocol for ruby. Simply implements send and receive using a serializer that responds to #dump and #load. This protocol does not handle the "packetization" or framing of data. This should be performed by an external handler such as my sized_header_protocol. == FEATURES/PROBLEMS: * Simplicity. * Accepts any serializer supporting #dump and #load. * Part of the API feels a bit clunky when chaining. * Needs it's documentation filling in. == SYNOPSIS: The following example is an example designed to run with EventMachine and sized_header_protocol. See the docs for sized_header_protocol for more information regarding the chaining api setup. Provide any serializer supporting #dump and #load. Known options include: * Marshal * YAML * JSON I'm sure there must be others too. require 'rubygems' require 'eventmachine' require 'sized_header_protocol' require 'object_protocol' module Op def post_init @serializer = Marshal @packr = SizedHeaderProtocol.new(self, :send_data, nil, :receive_data) @proto = ObjectProtocol.new(@packr, :send_data, self, :receive_object, @serializer) @packr.read_obj = @proto end def receive_data(data) @packr.receive_data(data) end def send_object(object) @proto.send_data(object) end def receive_object(object) p object send_object(object.reverse) end end EM.run do EM.start_server '127.0.0.1', 8000, Op do |c| EM.add_timer(0.1) { c.send_object [:from, :server] } end EM.connect '127.0.0.1', 8000, Op do |c| EM.add_timer(0.1) { c.send_object [:from, :client] } end EM.add_timer(0.5) { EM.stop } end Also, for further details or explanation, see the test (spec) suite. == REQUIREMENTS: * A packetization lib (sized_header_protocol) * A transport system (eventmachine / packet / rev) * Bacon for the spec suite. == INSTALL: * sudo gem install object_protocol == LICENSE: (The MIT License) Copyright (c) 2008 James Tucker Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This feature is coming soon. Sit tight!