Class: EventMachine::HttpStubConnection

### Home Classes Methods

### In Files

- lib/em-http/http_connection.rb

### Parent

Connection

### Methods

- #connection_completed
- #parent=
- #receive_data
- #unbind

### Included Modules

- Deferrable

### Class/Module Index

Quicksearch

- EventMachine
- EventMachine::HTTPMethods
- EventMachine::HttpClient
- EventMachine::HttpClient::CookieJar
- EventMachine::HttpConnection
- EventMachine::HttpDecoders
- EventMachine::HttpDecoders::Base
- EventMachine::HttpDecoders::DecoderError
- EventMachine::HttpDecoders::Deflate
- EventMachine::HttpDecoders::GZip
- EventMachine::HttpDecoders::GZipHeader
- EventMachine::HttpEncoding
- EventMachine::HttpRequest
- EventMachine::HttpResponseHeader
- EventMachine::HttpStatus
- EventMachine::HttpStubConnection
- EventMachine::Middleware
- EventMachine::Middleware::DigestAuth
- EventMachine::Middleware::JSONResponse
- EventMachine::Middleware::OAuth
- EventMachine::Middleware::OAuth2
- EventMachine::MultiRequest
- HttpClientOptions
- HttpConnectionOptions
- String

No matching classes.

# EventMachine::HttpStubConnection

### Attributes

parent[R]

### Public Instance Methods

connection_completed() click to toggle source

    # File lib/em-http/http_connection.rb, line 26
    def connection_completed
      @parent.connection_completed
    end

parent=(p) click to toggle source

    # File lib/em-http/http_connection.rb, line 17
    def parent=(p)
      @parent = p
      @parent.conn = self
    end

receive_data(data) click to toggle source

    # File lib/em-http/http_connection.rb, line 22
    def receive_data(data)
      @parent.receive_data data
    end

unbind(reason=nil) click to toggle source

    # File lib/em-http/http_connection.rb, line 30
    def unbind(reason=nil)
      @parent.unbind(reason)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.