|
|
|
searchIndex["actix_web"]={"doc":"Actix web is a small, pragmatic, and extremely fast web framework for Rust.","items":[[3,"App","actix_web","Structure that follows the builder pattern for building application instances.",N,N],[3,"HttpContext","","Execution context for http actors",N,N],[3,"Extensions","","A type map of request extensions.",N,N],[3,"Form","","Extract typed information from the request's body.",N,N],[12,"0","","",0,N],[3,"Path","","Extract typed information from the request's path.",N,N],[3,"Query","","Extract typed information from from the request's query.",N,N],[3,"State","","Access an application state",N,N],[3,"HttpRequest","","An HTTP Request",N,N],[3,"HttpResponse","","An HTTP Response",N,N],[3,"Json","","Json helper",N,N],[12,"0","","",1,N],[3,"Scope","","Resources scope",N,N],[3,"Request","","Request's context",N,N],[4,"Binary","","Represents various types of binary body. `Content-Length` header is set to length of the body.",N,N],[13,"Bytes","","Bytes body",2,N],[13,"Slice","","Static slice",2,N],[13,"SharedVec","","Shared vec body",2,N],[4,"Body","","Represents various types of http message body.",N,N],[13,"Empty","","Empty response. `Content-Length` header is set to `0`",3,N],[13,"Binary","","Specific response body.",3,N],[13,"Streaming","","Unspecified streaming response. Developer is responsible for setting right `Content-Length` or `Transfer-Encoding` headers.",3,N],[13,"Actor","","Special body type for actor response.",3,N],[4,"Either","","Combines two different responder types into a single type",N,N],[13,"A","","First branch of the type",4,N],[13,"B","","Second branch of the type",4,N],[11,"new","","Create application with empty state. Application can be configured with a builder-like pattern.",5,[[],["app"]]],[11,"default","","",5,[[],["self"]]],[11,"with_state","","Create application with specified state. Application can be configured with a builder-like pattern.",5,[[["s"]],["app"]]],[11,"state","","Get reference to the application state",5,[[["self"]],["s"]]],[11,"prefix","","Set application prefix.",5,[[["self"],["p"]],["app"]]],[11,"filter","","Add match predicate to application.",5,[[["self"],["t"]],["app"]]],[11,"route","","Configure route for a specific path.",5,[[["self"],["str"],["method"],["f"]],["app"]]],[11,"scope","","Configure scope for common root path.",5,[[["self"],["str"],["f"]],["app"]]],[11,"resource","","Configure resource for a specific path.",5,[[["self"],["str"],["f"]],["app"]]],[11,"default_resource","","Default resource to be used if no matching route could be found.",5,[[["self"],["f"]],["app"]]],[11,"default_encoding","","Set default content encoding. `ContentEncoding::Auto` is set by default.",5,[[["self"],["contentencoding"]],["app"]]],[11,"external_resource","","Register an external resource.",5,[[["self"],["t"],["u"]],["app"]]],[11,"handler","","Configure handler for specific path prefix.",5,[[["self"],["str"],["h"]],["app"]]],[11,"middleware","","Register a middleware.",5,[[["self"],["m"]],["app"]]],[11,"configure","","Run external configuration as part of the application building process",5,[[["self"],["f"]],["app"]]],[11,"finish","","Finish application configuration and create `HttpHandler` object.",5,[[["self"]],["httpapplication"]]],[11,"boxed","","Convenience method for creating `Box<HttpHandler>` instances.",5,[[["self"]],["box",["httphandler"]]]],[11,"into_handler","","",5,[[["self"]],["httpapplication"]]],[11,"fmt","","",2,[[["self"],["formatter"]],["result"]]],[11,"eq","","",2,[[["self"],["binary"]],["bool"]]],[11,"ne","","",2,[[["self"],["binary"]],["bool"]]],[11,"is_streaming","","Does this body streaming.",3,[[["self"]],["bool"]]],[11,"is_binary","","Is this binary body.",3,[[["self"]],["bool"]]],[11,"is_empty","","Is this binary empy.",3,[[["self"]],["bool"]]],[11,"from_slice","","Create body from slice (copy)",3,N],[11,"eq","","",3,[[["self"],["body"]],["bool"]]],[11,"fmt","","",3,[[["self"],["formatter"]],["result"]]],[11,"from","","",3,[[["t"]],["body"]]],[11,"from","","",3,[[["box",["actorhttpcontext"]]],["body"]]],[11,"is_empty","","Re
|