Class: ActionCable::Connection::TestRequest

Inherits:
ActionDispatch::TestRequest show all
Defined in:
actioncable/lib/action_cable/connection/test_case.rb

Constant Summary

Constants inherited from ActionDispatch::TestRequest

ActionDispatch::TestRequest::DEFAULT_ENV

Constants inherited from ActionDispatch::Request

ActionDispatch::Request::ACTION_DISPATCH_REQUEST_ID, ActionDispatch::Request::ENV_METHODS, ActionDispatch::Request::HTTP_METHODS, ActionDispatch::Request::HTTP_METHOD_LOOKUP, ActionDispatch::Request::LOCALHOST, ActionDispatch::Request::PASS_NOT_FOUND, ActionDispatch::Request::RFC2518, ActionDispatch::Request::RFC2616, ActionDispatch::Request::RFC3253, ActionDispatch::Request::RFC3648, ActionDispatch::Request::RFC3744, ActionDispatch::Request::RFC4791, ActionDispatch::Request::RFC5323, ActionDispatch::Request::RFC5789

Constants included from ActionDispatch::FeaturePolicy::Request

ActionDispatch::FeaturePolicy::Request::POLICY

Constants included from ActionDispatch::ContentSecurityPolicy::Request

ActionDispatch::ContentSecurityPolicy::Request::NONCE, ActionDispatch::ContentSecurityPolicy::Request::NONCE_DIRECTIVES, ActionDispatch::ContentSecurityPolicy::Request::NONCE_GENERATOR, ActionDispatch::ContentSecurityPolicy::Request::POLICY, ActionDispatch::ContentSecurityPolicy::Request::POLICY_REPORT_ONLY

Constants included from ActionDispatch::Http::URL

ActionDispatch::Http::URL::HOST_REGEXP, ActionDispatch::Http::URL::IP_HOST_REGEXP, ActionDispatch::Http::URL::PROTOCOL_REGEXP

Constants included from ActionDispatch::Http::FilterParameters

ActionDispatch::Http::FilterParameters::ENV_MATCH, ActionDispatch::Http::FilterParameters::NULL_ENV_FILTER, ActionDispatch::Http::FilterParameters::NULL_PARAM_FILTER

Constants included from ActionDispatch::Http::Parameters

ActionDispatch::Http::Parameters::DEFAULT_PARSERS, ActionDispatch::Http::Parameters::PARAMETERS_KEY

Constants included from ActionDispatch::Http::MimeNegotiation

ActionDispatch::Http::MimeNegotiation::RESCUABLE_MIME_FORMAT_ERRORS

Constants included from ActionDispatch::Http::Cache::Request

ActionDispatch::Http::Cache::Request::HTTP_IF_MODIFIED_SINCE, ActionDispatch::Http::Cache::Request::HTTP_IF_NONE_MATCH

Instance Attribute Summary collapse

Method Summary

Methods inherited from ActionDispatch::TestRequest

#accept=, #action=, create, #host=, #if_modified_since=, #if_none_match=, #path=, #port=, #remote_addr=, #request_method=, #request_uri=, #user_agent=

Methods inherited from ActionDispatch::Request

#GET, #POST, #authenticated_encrypted_cookie_salt, #authorization, #body, #body_stream, #commit_cookie_jar!, #commit_flash, #content_length, #controller_class, #controller_class_for, #controller_instance, #controller_instance=, #cookies_digest, #cookies_rotations, #cookies_same_site_protection, #cookies_serializer, empty, #encrypted_cookie_cipher, #encrypted_cookie_salt, #encrypted_signed_cookie_salt, #engine_script_name, #engine_script_name=, #form_data?, #fullpath, #have_cookie_jar?, #headers, #http_auth_salt, #initialize, #ip, #key?, #key_generator, #local?, #logger, #media_type, #method, #method_symbol, #original_fullpath, #original_url, #raw_post, #remote_ip, #remote_ip=, #request_id, #request_id=, #request_method, #request_method=, #request_method_symbol, #request_parameters=, #reset_session, #routes, #routes=, #secret_key_base, #send_early_hints, #server_software, #session_options=, #show_exceptions?, #signed_cookie_digest, #signed_cookie_salt, #ssl?, #use_authenticated_cookie_encryption, #use_cookies_with_metadata, #xml_http_request?

Methods included from ActionDispatch::FeaturePolicy::Request

#feature_policy, #feature_policy=

Methods included from ActionDispatch::ContentSecurityPolicy::Request

#content_security_policy, #content_security_policy=, #content_security_policy_nonce, #content_security_policy_nonce_directives, #content_security_policy_nonce_directives=, #content_security_policy_nonce_generator, #content_security_policy_nonce_generator=, #content_security_policy_report_only, #content_security_policy_report_only=

Methods included from ActionDispatch::Http::URL

#domain, extract_domain, extract_subdomain, extract_subdomains, full_url_for, #host, #host_with_port, #initialize, #optional_port, path_for, #port, #port_string, #protocol, #raw_host_with_port, #server_port, #standard_port, #standard_port?, #subdomain, #subdomains, #url, url_for

Methods included from ActionDispatch::Http::FilterParameters

#filtered_env, #filtered_parameters, #filtered_path, #initialize

Methods included from ActionDispatch::Http::Parameters

#parameters, #path_parameters, #path_parameters=

Methods included from ActiveSupport::Concern

#append_features, #class_methods, extended, #included

Methods included from ActionDispatch::Http::MimeNegotiation

#accepts, #content_mime_type, #content_type, #format, #format=, #formats, #formats=, #has_content_type?, #negotiate_mime, #should_apply_vary_header?, #variant, #variant=

Methods included from ActionDispatch::Http::Cache::Request

#etag_matches?, #fresh?, #if_modified_since, #if_none_match, #if_none_match_etags, #not_modified?

Constructor Details

This class inherits a constructor from ActionDispatch::Request

Instance Attribute Details

Returns the value of attribute cookie_jar



44
45
46
# File 'actioncable/lib/action_cable/connection/test_case.rb', line 44

def cookie_jar
  @cookie_jar
end

#sessionObject

Returns the value of attribute session



44
45
46
# File 'actioncable/lib/action_cable/connection/test_case.rb', line 44

def session
  @session
end