Dart Documentationclean_ajax.serverServerRequest

ServerRequest class

class ServerRequest {
 final dynamic args;
 final String type;
 String authenticatedUserId;
 Connection loopBack;

 /**
  * Creates a [ServerRequest] with specified [type] and [args]
  * [type] is the name of the requested server function
  * [args] is a map of arguments for the specified server function
  */
 ServerRequest(this.type, this.args, this.authenticatedUserId, this.loopBack);
}

Constructors

new ServerRequest(String type, args, String authenticatedUserId, Connection loopBack) #

Creates a ServerRequest with specified type and [args] [type] is the name of the requested server function args is a map of arguments for the specified server function

ServerRequest(this.type, this.args, this.authenticatedUserId, this.loopBack);

Properties

final args #

final dynamic args

String authenticatedUserId #

String authenticatedUserId

Connection loopBack #

Connection loopBack

final String type #

final String type