HttpServer_OpenSim.xml 347 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>HttpServer_OpenSim</name>
  5. </assembly>
  6. <members>
  7. <member name="T:HttpServer.ResponseCookies">
  8. <summary>
  9. Cookies that should be set.
  10. </summary>
  11. </member>
  12. <member name="M:HttpServer.ResponseCookies.Add(HttpServer.ResponseCookie)">
  13. <summary>
  14. Adds a cookie in the collection.
  15. </summary>
  16. <param name="cookie">cookie to add</param>
  17. <exception cref="T:System.ArgumentNullException">cookie is null</exception>
  18. </member>
  19. <member name="M:HttpServer.ResponseCookies.Add(HttpServer.RequestCookie,System.DateTime)">
  20. <summary>
  21. Copy a request cookie
  22. </summary>
  23. <param name="cookie"></param>
  24. <param name="expires">When the cookie should expire</param>
  25. </member>
  26. <member name="M:HttpServer.ResponseCookies.GetEnumerator">
  27. <summary>
  28. Gets a collection enumerator on the cookie list.
  29. </summary>
  30. <returns>collection enumerator</returns>
  31. </member>
  32. <member name="M:HttpServer.ResponseCookies.Clear">
  33. <summary>
  34. Remove all cookies
  35. </summary>
  36. </member>
  37. <member name="M:HttpServer.ResponseCookies.System#Collections#Generic#IEnumerable{HttpServer#ResponseCookie}#GetEnumerator">
  38. <summary>
  39. Returns an enumerator that iterates through the collection.
  40. </summary>
  41. <returns>
  42. A <see cref="T:System.Collections.Generic.IEnumerator`1"></see> that can be used to iterate through the collection.
  43. </returns>
  44. <filterpriority>1</filterpriority>
  45. </member>
  46. <member name="P:HttpServer.ResponseCookies.Count">
  47. <summary>
  48. Gets the count of cookies in the collection.
  49. </summary>
  50. </member>
  51. <member name="P:HttpServer.ResponseCookies.Item(System.String)">
  52. <summary>
  53. Gets the cookie of a given identifier (null if not existing).
  54. </summary>
  55. </member>
  56. <member name="T:HttpServer.Rendering.Haml.HamlGenerator">
  57. <summary>
  58. Generates C#/HTML from HAML code.
  59. </summary>
  60. <remarks>HAML documentation: http://haml.hamptoncatlin.com/docs/rdoc/classes/Haml.html</remarks>
  61. </member>
  62. <member name="T:HttpServer.Rendering.ITemplateGenerator">
  63. <summary>
  64. A code generator is used to convert template code to something that we can
  65. work with, as HTML or c# code.
  66. </summary>
  67. <seealso cref="T:HttpServer.Rendering.TemplateManager"/>
  68. </member>
  69. <member name="M:HttpServer.Rendering.ITemplateGenerator.GenerateCode(System.IO.TextWriter)">
  70. <summary>
  71. Generate C# code from the template.
  72. </summary>
  73. <param name="writer">A <see cref="T:System.IO.TextWriter"/> that the generated code will be written to.</param>
  74. <exception cref="T:System.InvalidOperationException">If the template have not been parsed first.</exception>
  75. <exception cref="T:HttpServer.Rendering.CodeGeneratorException">If template is incorrect</exception>
  76. </member>
  77. <member name="M:HttpServer.Rendering.ITemplateGenerator.Parse(System.String)">
  78. <summary>
  79. Parse a file and convert into to our own template object code.
  80. </summary>
  81. <param name="fullPath">Path and filename to a template</param>
  82. <exception cref="T:HttpServer.Rendering.CodeGeneratorException">If something is incorrect in the template.</exception>
  83. <exception cref="T:System.IO.FileNotFoundException"></exception>
  84. <exception cref="T:System.IO.DirectoryNotFoundException"></exception>
  85. <exception cref="T:System.UnauthorizedAccessException"></exception>
  86. <exception cref="T:System.IO.PathTooLongException"></exception>
  87. <exception cref="T:System.NotSupportedException"></exception>
  88. </member>
  89. <member name="M:HttpServer.Rendering.ITemplateGenerator.Parse(System.IO.TextReader)">
  90. <summary>
  91. Parse a file and convert into to our own template object code.
  92. </summary>
  93. <param name="reader">A <see cref="T:System.IO.TextReader"/> containing our template</param>
  94. <exception cref="T:HttpServer.Rendering.CodeGeneratorException">If something is incorrect in the template.</exception>
  95. </member>
  96. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.#ctor">
  97. <summary>
  98. Initializes a new instance of the <see cref="T:HttpServer.Rendering.Haml.HamlGenerator"/> class.
  99. </summary>
  100. </member>
  101. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.#ctor(HttpServer.ILogWriter)">
  102. <summary>
  103. Initializes a new instance of the <see cref="T:HttpServer.Rendering.Haml.HamlGenerator"/> class.
  104. </summary>
  105. <param name="logWriter">The log writer.</param>
  106. </member>
  107. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.CheckIntendation(HttpServer.Rendering.Haml.LineInfo,System.Int32@,System.Int32@)">
  108. <summary>
  109. Check and validate indentation
  110. </summary>
  111. <param name="line">line to check</param>
  112. <param name="ws">number of white spaces</param>
  113. <param name="intendation">number of indentations (2 white spaces = 1 intend, 1 tab = 1 intend)</param>
  114. </member>
  115. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.CheckIntendation(HttpServer.Rendering.Haml.LineInfo)">
  116. <summary>
  117. Check indentation
  118. </summary>
  119. <param name="line">fills line with intend info</param>
  120. </member>
  121. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.CheckMultiLine(HttpServer.Rendering.Haml.LineInfo,HttpServer.Rendering.Haml.LineInfo)">
  122. <summary>
  123. check if current line is a multi line
  124. </summary>
  125. <param name="prevLine">previous line</param>
  126. <param name="line">current line</param>
  127. </member>
  128. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.GenerateHtml(System.IO.TextWriter)">
  129. <summary>
  130. Generate HTML code from the template.
  131. Code is encapsulated in &lt;% and &lt;%=
  132. </summary>
  133. <param name="writer">A <see cref="T:System.IO.TextWriter"/> that the generated code will be written to.</param>
  134. <exception cref="T:System.InvalidOperationException">If the template have not been parsed first.</exception>
  135. <exception cref="T:HttpServer.Rendering.CodeGeneratorException">If template is incorrect</exception>
  136. </member>
  137. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.GetWord(System.String,System.Int32)">
  138. <summary>
  139. Get the first word (letters and digits only) from the specified offset.
  140. </summary>
  141. <param name="data"></param>
  142. <param name="offset"></param>
  143. <returns></returns>
  144. </member>
  145. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.HandlePlacement">
  146. <summary>
  147. Check indentation / node placement
  148. </summary>
  149. </member>
  150. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.ParseNode(HttpServer.Rendering.Haml.LineInfo,HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.Nodes.TextNode)">
  151. <summary>
  152. Parse a node
  153. todo: improve doc
  154. </summary>
  155. <param name="theLine"></param>
  156. <param name="prototypes"></param>
  157. <param name="parent"></param>
  158. <param name="textNode"></param>
  159. </member>
  160. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.PreParse(System.IO.TextReader)">
  161. <summary>
  162. PreParse goes through the text add handles indentation
  163. and all multi line cases.
  164. </summary>
  165. <param name="reader">Reader containing the text</param>
  166. </member>
  167. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.PrintDocument">
  168. <summary>
  169. print the entire document
  170. </summary>
  171. </member>
  172. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.PrintNode(HttpServer.Rendering.Haml.LineInfo)">
  173. <summary>
  174. Print line information to the console
  175. </summary>
  176. <param name="line"></param>
  177. </member>
  178. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.ReadLine">
  179. <summary>
  180. Read next line from file
  181. </summary>
  182. <returns>true if line could be read; false if EOF.</returns>
  183. </member>
  184. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.Spaces(System.Int32)">
  185. <summary>
  186. Generates a string with spaces.
  187. </summary>
  188. <param name="count">number of spaces.</param>
  189. <returns>string of spaces.</returns>
  190. </member>
  191. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.Parse(System.String)">
  192. <summary>
  193. Parse a file and convert into to our own template object code.
  194. </summary>
  195. <param name="fullPath">Path and filename to a template</param>
  196. <exception cref="T:HttpServer.Rendering.CodeGeneratorException">If something is incorrect in the template.</exception>
  197. <exception cref="T:System.IO.FileNotFoundException"></exception>
  198. <exception cref="T:System.IO.DirectoryNotFoundException"></exception>
  199. <exception cref="T:System.UnauthorizedAccessException"></exception>
  200. <exception cref="T:System.IO.PathTooLongException"></exception>
  201. <exception cref="T:System.NotSupportedException"></exception>
  202. <exception cref="T:System.ArgumentException"></exception>
  203. </member>
  204. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.Parse(System.IO.TextReader)">
  205. <summary>
  206. Parse a file and convert into to our own template object code.
  207. </summary>
  208. <param name="reader">A <see cref="T:System.IO.TextReader"/> containing our template</param>
  209. <exception cref="T:HttpServer.Rendering.CodeGeneratorException">If something is incorrect in the template.</exception>
  210. </member>
  211. <member name="M:HttpServer.Rendering.Haml.HamlGenerator.GenerateCode(System.IO.TextWriter)">
  212. <summary>
  213. Generate C# code from the template.
  214. </summary>
  215. <param name="writer">A <see cref="T:System.IO.TextWriter"/> that the generated code will be written to.</param>
  216. <exception cref="T:System.InvalidOperationException">If the template have not been parsed first.</exception>
  217. <exception cref="T:HttpServer.Rendering.CodeGeneratorException">If template is incorrect</exception>
  218. </member>
  219. <member name="P:HttpServer.Rendering.Haml.HamlGenerator.RootNode">
  220. <summary>
  221. Property to retrieve the root node for the latest parsed document
  222. </summary>
  223. </member>
  224. <member name="T:HttpServer.Rules.RegexRedirectRule">
  225. <summary>
  226. Class to make dynamic binding of redirects. Instead of having to specify a number of similar redirect rules
  227. a regular expression can be used to identify redirect urls and thier targets.
  228. </summary>
  229. <example>
  230. <![CDATA[
  231. new RegexRedirectRule("/(?<target>[a-z0-9]+)", "/users/${target}?find=true", RegexOptions.IgnoreCase)
  232. ]]>
  233. </example>
  234. </member>
  235. <member name="T:HttpServer.Rules.RedirectRule">
  236. <summary>
  237. redirects from one url to another.
  238. </summary>
  239. </member>
  240. <member name="T:HttpServer.Rules.IRule">
  241. <summary>
  242. Rules are used to perform operations before a request is being handled.
  243. Rules can be used to create routing etc.
  244. </summary>
  245. </member>
  246. <member name="M:HttpServer.Rules.IRule.Process(HttpServer.IHttpRequest,HttpServer.IHttpResponse)">
  247. <summary>
  248. Process the incoming request.
  249. </summary>
  250. <param name="request">incoming http request</param>
  251. <param name="response">outgoing http response</param>
  252. <returns>true if response should be sent to the browser directly (no other rules or modules will be processed).</returns>
  253. <remarks>
  254. returning true means that no modules will get the request. Returning true is typically being done
  255. for redirects.
  256. </remarks>
  257. <exception cref="T:System.ArgumentNullException">If request or response is null.</exception>
  258. </member>
  259. <member name="M:HttpServer.Rules.RedirectRule.#ctor(System.String,System.String)">
  260. <summary>
  261. Initializes a new instance of the <see cref="T:HttpServer.Rules.RedirectRule"/> class.
  262. </summary>
  263. <param name="fromUrl">Absolute path (no servername)</param>
  264. <param name="toUrl">Absolute path (no servername)</param>
  265. <example>
  266. server.Add(new RedirectRule("/", "/user/index"));
  267. </example>
  268. </member>
  269. <member name="M:HttpServer.Rules.RedirectRule.#ctor(System.String,System.String,System.Boolean)">
  270. <summary>
  271. Initializes a new instance of the <see cref="T:HttpServer.Rules.RedirectRule"/> class.
  272. </summary>
  273. <param name="fromUrl">Absolute path (no servername)</param>
  274. <param name="toUrl">Absolute path (no servername)</param>
  275. <param name="shouldRedirect">true if request should be redirected, false if the request uri should be replaced.</param>
  276. <example>
  277. server.Add(new RedirectRule("/", "/user/index"));
  278. </example>
  279. </member>
  280. <member name="M:HttpServer.Rules.RedirectRule.Process(HttpServer.IHttpRequest,HttpServer.IHttpResponse)">
  281. <summary>
  282. Process the incoming request.
  283. </summary>
  284. <param name="request">incoming http request</param>
  285. <param name="response">outgoing http response</param>
  286. <returns>true if response should be sent to the browser directly (no other rules or modules will be processed).</returns>
  287. <remarks>
  288. returning true means that no modules will get the request. Returning true is typically being done
  289. for redirects.
  290. </remarks>
  291. </member>
  292. <member name="P:HttpServer.Rules.RedirectRule.FromUrl">
  293. <summary>
  294. string to match request url with.
  295. </summary>
  296. <remarks>Is compared to request.Uri.AbsolutePath</remarks>
  297. </member>
  298. <member name="P:HttpServer.Rules.RedirectRule.ToUrl">
  299. <summary>
  300. Where to redirect.
  301. </summary>
  302. </member>
  303. <member name="P:HttpServer.Rules.RedirectRule.ShouldRedirect">
  304. <summary>
  305. true if we should redirect.
  306. </summary>
  307. <remarks>
  308. false means that the rule will replace
  309. the current request uri with the new one from this class.
  310. </remarks>
  311. </member>
  312. <member name="M:HttpServer.Rules.RegexRedirectRule.#ctor(System.String,System.String)">
  313. <summary>
  314. Initializes a new instance of the <see cref="T:HttpServer.Rules.RegexRedirectRule"/> class.
  315. </summary>
  316. <param name="fromUrlExpression">Expression to match url</param>
  317. <param name="toUrlExpression">Expression to generate url</param>
  318. <example>
  319. <![CDATA[
  320. server.Add(new RegexRedirectRule("/(?<first>[a-zA-Z0-9]+)", "/user/${first}"));
  321. Result of ie. /employee1 will then be /user/employee1
  322. ]]>
  323. </example>
  324. </member>
  325. <member name="M:HttpServer.Rules.RegexRedirectRule.#ctor(System.String,System.String,System.Text.RegularExpressions.RegexOptions)">
  326. <summary>
  327. Initializes a new instance of the <see cref="T:HttpServer.Rules.RegexRedirectRule"/> class.
  328. </summary>
  329. <param name="fromUrlExpression">Expression to match url</param>
  330. <param name="toUrlExpression">Expression to generate url</param>
  331. <param name="options">Regular expression options to use, can be null</param>
  332. <example>
  333. <![CDATA[
  334. server.Add(new RegexRedirectRule("/(?<first>[a-zA-Z0-9]+)", "/user/{first}", RegexOptions.IgnoreCase));
  335. Result of ie. /employee1 will then be /user/employee1
  336. ]]>
  337. </example>
  338. </member>
  339. <member name="M:HttpServer.Rules.RegexRedirectRule.#ctor(System.String,System.String,System.Text.RegularExpressions.RegexOptions,System.Boolean)">
  340. <summary>
  341. Initializes a new instance of the <see cref="T:HttpServer.Rules.RegexRedirectRule"/> class.
  342. </summary>
  343. <param name="fromUrlExpression">Expression to match url</param>
  344. <param name="toUrlExpression">Expression to generate url</param>
  345. <param name="options">Regular expression options to apply</param>
  346. <param name="shouldRedirect">true if request should be redirected, false if the request uri should be replaced.</param>
  347. <example>
  348. <![CDATA[
  349. server.Add(new RegexRedirectRule("/(?<first>[a-zA-Z0-9]+)", "/user/${first}", RegexOptions.None));
  350. Result of ie. /employee1 will then be /user/employee1
  351. ]]>
  352. </example>
  353. </member>
  354. <member name="M:HttpServer.Rules.RegexRedirectRule.Process(HttpServer.IHttpRequest,HttpServer.IHttpResponse)">
  355. <summary>
  356. Process the incoming request.
  357. </summary>
  358. <param name="request">incoming http request</param>
  359. <param name="response">outgoing http response</param>
  360. <returns>true if response should be sent to the browser directly (no other rules or modules will be processed).</returns>
  361. <remarks>
  362. returning true means that no modules will get the request. Returning true is typically being done
  363. for redirects.
  364. </remarks>
  365. <exception cref="T:System.ArgumentNullException">If request or response is null</exception>
  366. </member>
  367. <member name="T:HttpServer.Rendering.ITemplateLoader">
  368. <summary>
  369. Interface used to load templates from different sources.
  370. </summary>
  371. </member>
  372. <member name="M:HttpServer.Rendering.ITemplateLoader.LoadTemplate(System.String)">
  373. <summary>
  374. Load a template into a <see cref="T:System.IO.TextReader"/> and return it.
  375. </summary>
  376. <param name="path">Relative path (and filename) to template.</param>
  377. <returns>a <see cref="T:System.IO.TextReader"/> if file was found; otherwise null.</returns>
  378. </member>
  379. <member name="M:HttpServer.Rendering.ITemplateLoader.GetFiles(System.String,System.String)">
  380. <summary>
  381. Fetch all files from the resource that matches the specified arguments.
  382. </summary>
  383. <param name="path">Where the file should reside.</param>
  384. <param name="filename">Files to check</param>
  385. <returns>a list of files if found; or an empty array if no files are found.</returns>
  386. </member>
  387. <member name="M:HttpServer.Rendering.ITemplateLoader.CheckTemplate(HttpServer.Rendering.ITemplateInfo)">
  388. <summary>
  389. Check's whether a template should be reloaded or not.
  390. </summary>
  391. <param name="info">template information</param>
  392. <returns>true if template is OK; false if it do not exist or are old.</returns>
  393. </member>
  394. <member name="M:HttpServer.Rendering.ITemplateLoader.HasTemplate(System.String)">
  395. <summary>
  396. Returns whether or not the loader has an instance of the file requested
  397. </summary>
  398. <param name="filename">The name of the template/file</param>
  399. <returns>True if the loader can provide the file</returns>
  400. </member>
  401. <member name="T:HttpServer.Helpers.WebHelper">
  402. <summary>
  403. Webhelper provides helpers for common tasks in HTML.
  404. </summary>
  405. </member>
  406. <member name="F:HttpServer.Helpers.WebHelper.JSImplementation">
  407. <summary>
  408. Used to let the website use different javascript libraries.
  409. Default is <see cref="T:HttpServer.Helpers.Implementations.PrototypeImp"/>
  410. </summary>
  411. </member>
  412. <member name="M:HttpServer.Helpers.WebHelper.AjaxRequest(System.String,System.String,System.String[])">
  413. <summary>
  414. Creates a link that invokes through ajax.
  415. </summary>
  416. <param name="url">url to fetch</param>
  417. <param name="title">link title</param>
  418. <param name="options">
  419. optional options in format "key, value, key, value".
  420. Javascript options starts with ':'.
  421. </param>
  422. <returns>a link tag</returns>
  423. <example>
  424. WebHelper.AjaxRequest("/users/add/", "Add user", "method:", "post", "onclick", "validate('this');");
  425. </example>
  426. </member>
  427. <member name="M:HttpServer.Helpers.WebHelper.AjaxUpdater(System.String,System.String,System.String,System.String[])">
  428. <summary>
  429. Builds a link that updates an element with the fetched ajax content.
  430. </summary>
  431. <param name="url">Url to fetch content from</param>
  432. <param name="title">link title</param>
  433. <param name="targetId">html element to update with the results of the ajax request.</param>
  434. <param name="options">optional options in format "key, value, key, value"</param>
  435. <returns>A link tag.</returns>
  436. </member>
  437. <member name="M:HttpServer.Helpers.WebHelper.DialogLink(System.String,System.String,System.String[])">
  438. <summary>
  439. A link that pop ups a Dialog (overlay div)
  440. </summary>
  441. <param name="url">url to contents of dialog</param>
  442. <param name="title">link title</param>
  443. <param name="htmlAttributes">name/value of html attributes.</param>
  444. <returns>A "a"-tag that popups a dialog when clicked</returns>
  445. <example>
  446. WebHelper.DialogLink("/user/show/1", "show user", "onmouseover", "alert('booh!');");
  447. </example>
  448. </member>
  449. <member name="M:HttpServer.Helpers.WebHelper.CreateDialog(System.String,System.String,System.String[])">
  450. <summary>
  451. Create/Open a dialog box using ajax
  452. </summary>
  453. <param name="url"></param>
  454. <param name="title"></param>
  455. <param name="parameters"></param>
  456. <returns></returns>
  457. </member>
  458. <member name="M:HttpServer.Helpers.WebHelper.CloseDialog">
  459. <summary>
  460. Close a javascript dialog window/div.
  461. </summary>
  462. <returns>javascript for closing a dialog.</returns>
  463. <see cref="M:HttpServer.Helpers.WebHelper.DialogLink(System.String,System.String,System.String[])"/>
  464. </member>
  465. <member name="M:HttpServer.Helpers.WebHelper.FormStart(System.String,System.String,System.Boolean)">
  466. <summary>
  467. Create a &lt;form&gt; tag.
  468. </summary>
  469. <param name="name">name of form</param>
  470. <param name="action">action to invoke on submit</param>
  471. <param name="isAjax">form should be posted as ajax</param>
  472. <returns>html code</returns>
  473. <example>
  474. WebHelper.FormStart("frmLogin", "/user/login", Request.IsAjax);
  475. </example>
  476. </member>
  477. <member name="M:HttpServer.Helpers.WebHelper.Link(System.String,System.String,System.String[])">
  478. <summary>
  479. Create a link tag.
  480. </summary>
  481. <param name="url">url to go to</param>
  482. <param name="title">link title (text that is displayed)</param>
  483. <param name="htmlAttributes">html attributes, name, value, name, value</param>
  484. <returns>html code</returns>
  485. <example>
  486. WebHelper.Link("/user/show/1", "Show user", "id", "showUser", "onclick", "return confirm('Are you shure?');");
  487. </example>
  488. </member>
  489. <member name="M:HttpServer.Helpers.WebHelper.BuildLink(System.String,System.String,System.String[])">
  490. <summary>
  491. Build a link
  492. </summary>
  493. <param name="url">url to go to.</param>
  494. <param name="title">title of link (displayed text)</param>
  495. <param name="htmlAttributes">extra html attributes.</param>
  496. <returns>a complete link</returns>
  497. </member>
  498. <member name="M:HttpServer.Helpers.WebHelper.BuildLink(System.String,System.String,System.String[],System.String[])">
  499. <summary>
  500. Build a link
  501. </summary>
  502. <param name="url">url to go to.</param>
  503. <param name="title">title of link (displayed text)</param>
  504. <param name="htmlAttributes">extra html attributes.</param>
  505. <returns>a complete link</returns>
  506. <param name="options">more options</param>
  507. </member>
  508. <member name="M:HttpServer.Helpers.WebHelper.Select(System.String,System.Collections.ICollection,HttpServer.Helpers.GetIdTitle,System.Object,System.Boolean)">
  509. <summary>
  510. Obsolete
  511. </summary>
  512. <param name="name">Obsolete</param>
  513. <param name="collection">Obsolete</param>
  514. <param name="getIdTitle">Obsolete</param>
  515. <param name="selectedValue">Obsolete</param>
  516. <param name="firstEmpty">Obsolete</param>
  517. <returns>Obsolete</returns>
  518. </member>
  519. <member name="M:HttpServer.Helpers.WebHelper.Select(System.String,System.String,System.Collections.ICollection,HttpServer.Helpers.GetIdTitle,System.Object,System.Boolean)">
  520. <summary>
  521. Obsolete
  522. </summary>
  523. <param name="name">Obsolete</param>
  524. <param name="id">Obsolete</param>
  525. <param name="collection">Obsolete</param>
  526. <param name="getIdTitle">Obsolete</param>
  527. <param name="selectedValue">Obsolete</param>
  528. <param name="firstEmpty">Obsolete</param>
  529. <returns>Obsolete</returns>
  530. </member>
  531. <member name="M:HttpServer.Helpers.WebHelper.List(System.Collections.Generic.IEnumerable{System.Object},System.String)">
  532. <summary>
  533. Render errors into a UL with class "errors"
  534. </summary>
  535. <param name="className">class used by UL-tag.</param>
  536. <param name="theList">items to list</param>
  537. <returns>an unordered html list.</returns>
  538. </member>
  539. <member name="M:HttpServer.Helpers.WebHelper.List(System.Collections.Specialized.NameValueCollection,System.String)">
  540. <summary>
  541. Render errors into a UL with class "errors"
  542. </summary>
  543. <param name="className">class used by UL-tag.</param>
  544. <param name="theList">items to list</param>
  545. <returns>an unordered html list.</returns>
  546. </member>
  547. <member name="M:HttpServer.Helpers.WebHelper.Errors(System.Collections.Specialized.NameValueCollection)">
  548. <summary>
  549. Render errors into a UL with class "errors"
  550. </summary>
  551. <param name="errors"></param>
  552. <returns></returns>
  553. </member>
  554. <member name="M:HttpServer.Helpers.WebHelper.GenerateHtmlAttributes(System.Text.StringBuilder,System.String[],System.String[])">
  555. <summary>
  556. Generates a list with html attributes.
  557. </summary>
  558. <param name="sb">StringBuilder that the options should be added to.</param>
  559. <param name="firstOptions">attributes set by user.</param>
  560. <param name="secondOptions">attributes set by any of the helper classes.</param>
  561. </member>
  562. <member name="M:HttpServer.Helpers.WebHelper.GenerateHtmlAttributes(System.Text.StringBuilder,System.String[])">
  563. <summary>
  564. Generates a list with html attributes.
  565. </summary>
  566. <param name="sb">StringBuilder that the options should be added to.</param>
  567. <param name="options"></param>
  568. </member>
  569. <member name="T:HttpServer.Helpers.JavascriptHelperImplementation">
  570. <summary>
  571. Purpose of this class is to create a javascript toolkit independent javascript helper.
  572. </summary>
  573. </member>
  574. <member name="M:HttpServer.Helpers.JavascriptHelperImplementation.GenerateOptions(System.Text.StringBuilder,System.String[],System.Boolean)">
  575. <summary>
  576. Generates a list with JS options.
  577. </summary>
  578. <param name="sb">StringBuilder that the options should be added to.</param>
  579. <param name="options">the javascript options. name, value pairs. each string value should be escaped by YOU!</param>
  580. <param name="startWithComma">true if we should start with a comma.</param>
  581. </member>
  582. <member name="M:HttpServer.Helpers.JavascriptHelperImplementation.RemoveJavascriptOptions(System.String[])">
  583. <summary>
  584. Removes any javascript parameters from an array of parameters
  585. </summary>
  586. <param name="options">The array of parameters to remove javascript params from</param>
  587. <returns>An array of html parameters</returns>
  588. </member>
  589. <member name="M:HttpServer.Helpers.JavascriptHelperImplementation.AjaxFormOnSubmit(System.String[])">
  590. <summary>
  591. javascript action that should be added to the "onsubmit" event in the form tag.
  592. </summary>
  593. <returns></returns>
  594. <remarks>All javascript option names should end with colon.</remarks>
  595. <example>
  596. <code>
  597. JSHelper.AjaxRequest("/user/show/1", "onsuccess:", "$('userInfo').update(result);");
  598. </code>
  599. </example>
  600. </member>
  601. <member name="M:HttpServer.Helpers.JavascriptHelperImplementation.AjaxRequest(System.String,System.String[])">
  602. <summary>
  603. Requests a url through ajax
  604. </summary>
  605. <param name="url">url to fetch</param>
  606. <param name="options">optional options in format "key, value, key, value", used in JS request object.</param>
  607. <returns>a link tag</returns>
  608. <remarks>All javascript option names should end with colon.</remarks>
  609. <example>
  610. <code>
  611. JSHelper.AjaxRequest("/user/show/1", "onsuccess:", "$('userInfo').update(result);");
  612. </code>
  613. </example>
  614. </member>
  615. <member name="M:HttpServer.Helpers.JavascriptHelperImplementation.AjaxUpdater(System.String,System.String,System.String[])">
  616. <summary>
  617. Ajax requests that updates an element with
  618. the fetched content
  619. </summary>
  620. <param name="url">Url to fetch content from</param>
  621. <param name="targetId">element to update</param>
  622. <param name="options">optional options in format "key, value, key, value", used in JS updater object.</param>
  623. <returns>A link tag.</returns>
  624. <remarks>All javascript option names should end with colon.</remarks>
  625. <example>
  626. <code>
  627. JSHelper.AjaxUpdater("/user/show/1", "userInfo", "onsuccess:", "alert('Successful!');");
  628. </code>
  629. </example>
  630. </member>
  631. <member name="M:HttpServer.Helpers.JavascriptHelperImplementation.DialogLink(System.String,System.String,System.String[])">
  632. <summary>
  633. A link that pop ups a Dialog (overlay div)
  634. </summary>
  635. <param name="url">url to contents of dialog</param>
  636. <param name="title">link title</param>
  637. <returns>A "a"-tag that popups a dialog when clicked</returns>
  638. <param name="htmlAttributes">name/value of html attributes</param>
  639. <example>
  640. WebHelper.DialogLink("/user/show/1", "show user", "onmouseover", "alert('booh!');");
  641. </example>
  642. </member>
  643. <member name="M:HttpServer.Helpers.JavascriptHelperImplementation.CloseDialog">
  644. <summary>
  645. Close a javascript dialog window/div.
  646. </summary>
  647. <returns>javascript for closing a dialog.</returns>
  648. <see cref="M:HttpServer.Helpers.JavascriptHelperImplementation.DialogLink(System.String,System.String,System.String[])"/>
  649. </member>
  650. <member name="M:HttpServer.Helpers.JavascriptHelperImplementation.CreateDialog(System.String,System.String,System.String[])">
  651. <summary>
  652. Creates a new modal dialog window
  653. </summary>
  654. <param name="url">url to open in window.</param>
  655. <param name="title">window title (may not be supported by all js implementations)</param>
  656. <param name="options"></param>
  657. <returns></returns>
  658. </member>
  659. <member name="T:HttpServer.HttpClientContextImp">
  660. <summary>
  661. Contains a connection to a browser/client.
  662. </summary>
  663. </member>
  664. <member name="T:HttpServer.IHttpClientContext">
  665. <summary>
  666. Contains a connection to a browser/client.
  667. </summary>
  668. </member>
  669. <member name="M:HttpServer.IHttpClientContext.Disconnect(System.Net.Sockets.SocketError)">
  670. <summary>
  671. Disconnect from client
  672. </summary>
  673. <param name="error">error to report in the <see cref="T:HttpServer.ClientDisconnectedHandler"/> delegate.</param>
  674. </member>
  675. <member name="M:HttpServer.IHttpClientContext.Respond(System.String,System.Net.HttpStatusCode,System.String,System.String)">
  676. <summary>
  677. Send a response.
  678. </summary>
  679. <param name="httpVersion">Either HttpHelper.HTTP10 or HttpHelper.HTTP11</param>
  680. <param name="statusCode">http status code</param>
  681. <param name="reason">reason for the status code.</param>
  682. <param name="body">html body contents, can be null or empty.</param>
  683. <exception cref="T:System.ArgumentException">If httpVersion is invalid.</exception>
  684. </member>
  685. <member name="M:HttpServer.IHttpClientContext.Respond(System.String,System.Net.HttpStatusCode,System.String)">
  686. <summary>
  687. Send a response.
  688. </summary>
  689. <param name="httpVersion">Either HttpHelper.HTTP10 or HttpHelper.HTTP11</param>
  690. <param name="statusCode">http status code</param>
  691. <param name="reason">reason for the status code.</param>
  692. </member>
  693. <member name="M:HttpServer.IHttpClientContext.Respond(System.String)">
  694. <summary>
  695. Send a response.
  696. </summary>
  697. <exception cref="T:System.ArgumentNullException"></exception>
  698. </member>
  699. <member name="M:HttpServer.IHttpClientContext.Send(System.Byte[])">
  700. <summary>
  701. send a whole buffer
  702. </summary>
  703. <param name="buffer">buffer to send</param>
  704. <exception cref="T:System.ArgumentNullException"></exception>
  705. </member>
  706. <member name="M:HttpServer.IHttpClientContext.Send(System.Byte[],System.Int32,System.Int32)">
  707. <summary>
  708. Send data using the stream
  709. </summary>
  710. <param name="buffer">Contains data to send</param>
  711. <param name="offset">Start position in buffer</param>
  712. <param name="size">number of bytes to send</param>
  713. <exception cref="T:System.ArgumentNullException"></exception>
  714. <exception cref="T:System.ArgumentOutOfRangeException"></exception>
  715. </member>
  716. <member name="P:HttpServer.IHttpClientContext.Secured">
  717. <summary>
  718. Using SSL or other encryption method.
  719. </summary>
  720. </member>
  721. <member name="F:HttpServer.HttpClientContextImp.BufferSize">
  722. <summary>
  723. Buffersize determines how large the HTTP header can be.
  724. </summary>
  725. </member>
  726. <member name="M:HttpServer.HttpClientContextImp.#ctor(System.Boolean,System.Net.IPEndPoint,HttpServer.RequestReceivedHandler,HttpServer.ClientDisconnectedHandler,System.IO.Stream,HttpServer.ILogWriter,System.Net.Sockets.Socket)">
  727. <summary>
  728. Initializes a new instance of the <see cref="T:HttpServer.HttpClientContextImp"/> class.
  729. </summary>
  730. <param name="secured">true if the connection is secured (SSL/TLS)</param>
  731. <param name="remoteEndPoint">client that connected.</param>
  732. <param name="requestHandler">delegate handling incoming requests.</param>
  733. <param name="disconnectHandler">delegate being called when a client disconnectes</param>
  734. <param name="stream">Stream used for communication</param>
  735. <exception cref="T:System.Net.Sockets.SocketException">If beginreceive fails</exception>
  736. <param name="writer">delegate used to write log entries</param>
  737. <see cref="T:HttpServer.RequestReceivedHandler"/>
  738. <see cref="T:HttpServer.ClientDisconnectedHandler"/>
  739. </member>
  740. <member name="M:HttpServer.HttpClientContextImp.#ctor(System.Boolean,System.Net.IPEndPoint,System.IO.Stream,HttpServer.RequestReceivedHandler,System.Net.Sockets.Socket)">
  741. <summary>
  742. Initializes a new instance of the <see cref="T:HttpServer.HttpClientContextImp"/> class.
  743. </summary>
  744. <param name="secured">true if the connection is secured (SSL/TLS)</param>
  745. <param name="requestHandler">delegate handling incoming requests.</param>
  746. <param name="remoteEndPoint">client that connected</param>
  747. <param name="stream">Stream used for communication</param>
  748. <exception cref="T:System.Net.Sockets.SocketException">If beginreceive fails</exception>
  749. <see cref="T:HttpServer.RequestReceivedHandler"/>
  750. <see cref="T:HttpServer.ClientDisconnectedHandler"/>
  751. </member>
  752. <member name="M:HttpServer.HttpClientContextImp.Disconnect(System.Net.Sockets.SocketError)">
  753. <summary>
  754. Disconnect from client
  755. </summary>
  756. <param name="error">error to report in the <see cref="T:HttpServer.ClientDisconnectedHandler"/> delegate.</param>
  757. </member>
  758. <member name="M:HttpServer.HttpClientContextImp.Check100Continue">
  759. <summary>
  760. This method checks the request if a responde to 100-continue should be sent.
  761. </summary>
  762. <remarks>
  763. 100 continue is a value in the Expect header.
  764. It's used to let the webserver determine if a request can be handled. The client
  765. waits for a reply before sending the body.
  766. </remarks>
  767. </member>
  768. <member name="M:HttpServer.HttpClientContextImp.Respond(System.String,System.Net.HttpStatusCode,System.String,System.String)">
  769. <summary>
  770. Send a response.
  771. </summary>
  772. <param name="httpVersion">Either HttpHelper.HTTP10 or HttpHelper.HTTP11</param>
  773. <param name="statusCode">http status code</param>
  774. <param name="reason">reason for the status code.</param>
  775. <param name="body">html body contents, can be null or empty.</param>
  776. <exception cref="T:System.ArgumentException">If httpVersion is invalid.</exception>
  777. </member>
  778. <member name="M:HttpServer.HttpClientContextImp.Respond(System.String,System.Net.HttpStatusCode,System.String)">
  779. <summary>
  780. Send a response.
  781. </summary>
  782. <param name="httpVersion">Either HttpHelper.HTTP10 or HttpHelper.HTTP11</param>
  783. <param name="statusCode">http status code</param>
  784. <param name="reason">reason for the status code.</param>
  785. </member>
  786. <member name="M:HttpServer.HttpClientContextImp.Respond(System.String)">
  787. <summary>
  788. Send a response.
  789. </summary>
  790. <exception cref="T:System.ArgumentNullException"></exception>
  791. </member>
  792. <member name="M:HttpServer.HttpClientContextImp.Send(System.Byte[])">
  793. <summary>
  794. send a whole buffer
  795. </summary>
  796. <param name="buffer">buffer to send</param>
  797. <exception cref="T:System.ArgumentNullException"></exception>
  798. </member>
  799. <member name="M:HttpServer.HttpClientContextImp.Send(System.Byte[],System.Int32,System.Int32)">
  800. <summary>
  801. Send data using the stream
  802. </summary>
  803. <param name="buffer">Contains data to send</param>
  804. <param name="offset">Start position in buffer</param>
  805. <param name="size">number of bytes to send</param>
  806. <exception cref="T:System.ArgumentNullException"></exception>
  807. <exception cref="T:System.ArgumentOutOfRangeException"></exception>
  808. </member>
  809. <member name="P:HttpServer.HttpClientContextImp.Secured">
  810. <summary>
  811. Using SSL or other encryption method.
  812. </summary>
  813. </member>
  814. <member name="T:HttpServer.ClientDisconnectedHandler">
  815. <summary>
  816. Client have been disconnected.
  817. </summary>
  818. <param name="client">Client that was disconnected.</param>
  819. <param name="error">Reason</param>
  820. <see cref="T:HttpServer.IHttpClientContext"/>
  821. </member>
  822. <member name="T:HttpServer.RequestReceivedHandler">
  823. <summary>
  824. Invoked when a client context have received a new HTTP request
  825. </summary>
  826. <param name="client">Client that received the request.</param>
  827. <param name="request">Request that was received.</param>
  828. <see cref="T:HttpServer.IHttpClientContext"/>
  829. </member>
  830. <member name="T:HttpServer.HttpModules.ControllerModule">
  831. <summary>
  832. A controller module is a part of the ModelViewController design pattern.
  833. It gives you a way to create user friendly URLs.
  834. </summary>
  835. <remarks>
  836. The controller module uses the flyweight pattern which means that
  837. the memory usage will continue to increase until the module have
  838. enough objects in memory to serve all concurrent requests. The objects
  839. are reused and will not be freed.
  840. </remarks>
  841. <example>
  842. <code>
  843. ControllerModule module = new ControllerModule();
  844. module.Add(new UserController());
  845. module.Add(new SearchController());
  846. myWebsite.Add(module);
  847. </code>
  848. </example>
  849. </member>
  850. <member name="T:HttpServer.HttpModules.HttpModule">
  851. <summary>
  852. A HttpModule can be used to serve urls. The module itself
  853. decides if it should serve a url or not. In this way, you can
  854. get a very flexible http app since you can let multiple modules
  855. serve almost similiar urls.
  856. </summary>
  857. <remarks>
  858. Throw UnauthorizedException if you are using a AuthenticationModule and want to prompt for username/password.
  859. </remarks>
  860. </member>
  861. <member name="M:HttpServer.HttpModules.HttpModule.Process(HttpServer.IHttpRequest,HttpServer.IHttpResponse,HttpServer.Sessions.IHttpSession)">
  862. <summary>
  863. Method that process the url
  864. </summary>
  865. <param name="request">Information sent by the browser about the request</param>
  866. <param name="response">Information that is being sent back to the client.</param>
  867. <param name="session">Session used to </param>
  868. <returns>true if this module handled the request.</returns>
  869. </member>
  870. <member name="M:HttpServer.HttpModules.HttpModule.SetLogWriter(HttpServer.ILogWriter)">
  871. <summary>
  872. Set the log writer to use.
  873. </summary>
  874. <param name="writer">logwriter to use.</param>
  875. </member>
  876. <member name="M:HttpServer.HttpModules.HttpModule.Write(HttpServer.LogPrio,System.String)">
  877. <summary>
  878. Log something.
  879. </summary>
  880. <param name="prio">importance of log message</param>
  881. <param name="message">message</param>
  882. </member>
  883. <member name="P:HttpServer.HttpModules.HttpModule.AllowSecondaryProcessing">
  884. <summary>
  885. If true specifies that the module doesn't consume the processing of a request so that subsequent modules
  886. can continue processing afterwards. Default is false.
  887. </summary>
  888. </member>
  889. <member name="M:HttpServer.HttpModules.ControllerModule.Add(HttpServer.Controllers.RequestController)">
  890. <summary>
  891. The controller module uses the prototype design pattern
  892. to be able to create new controller objects for requests
  893. if the stack is empty.
  894. </summary>
  895. <param name="prototype">A prototype which will be cloned for each request</param>
  896. <exception cref="T:System.ArgumentNullException"></exception>
  897. <exception cref="T:System.InvalidProgramException">If a controller with that name have been added already.</exception>
  898. </member>
  899. <member name="M:HttpServer.HttpModules.ControllerModule.Process(HttpServer.IHttpRequest,HttpServer.IHttpResponse,HttpServer.Sessions.IHttpSession)">
  900. <summary>
  901. Method that process the incoming request.
  902. </summary>
  903. <param name="request">Information sent by the browser about the request</param>
  904. <param name="response">Information that is being sent back to the client.</param>
  905. <param name="session">Session used to </param>
  906. </member>
  907. <member name="P:HttpServer.HttpModules.ControllerModule.Item(System.String)">
  908. <summary>
  909. Get a prototype
  910. </summary>
  911. <param name="controllerName">in lowercase, without "Controller"</param>
  912. <returns>The controller if found; otherwise null.</returns>
  913. <example>
  914. <code>
  915. //fetches the class UserController
  916. RequestController userController = controllerModule["user"];
  917. </code>
  918. </example>
  919. </member>
  920. <member name="M:HttpServer.HttpModules.ControllerModule.ControllerContext.#ctor(HttpServer.Controllers.RequestController)">
  921. <summary>
  922. Initializes a new instance of the <see cref="T:HttpServer.HttpModules.ControllerModule.ControllerContext"/> class.
  923. </summary>
  924. <param name="prototype">A controller used to handle certain URLs. Will be cloned for each parallel request.</param>
  925. </member>
  926. <member name="M:HttpServer.HttpModules.ControllerModule.ControllerContext.Pop">
  927. <summary>
  928. Retrieve a previously created controller (or a new one if none exist).
  929. </summary>
  930. <returns></returns>
  931. </member>
  932. <member name="M:HttpServer.HttpModules.ControllerModule.ControllerContext.Push(HttpServer.Controllers.RequestController)">
  933. <summary>
  934. Add a controller
  935. </summary>
  936. <param name="controller"></param>
  937. </member>
  938. <member name="P:HttpServer.HttpModules.ControllerModule.ControllerContext.Prototype">
  939. <summary>
  940. Prototype controller used for cloning.
  941. </summary>
  942. <value>The prototype.</value>
  943. </member>
  944. <member name="T:HttpServer.Helpers.JSHelper">
  945. <summary>
  946. Will contain helper functions for javascript.
  947. </summary>
  948. </member>
  949. <member name="M:HttpServer.Helpers.JSHelper.AjaxRequest(System.String,System.String[])">
  950. <summary>
  951. Requests a url through ajax
  952. </summary>
  953. <param name="url">url to fetch. Url is NOT enclosed in quotes by the implementation. You need to do that yourself.</param>
  954. <param name="options">optional options in format "key, value, key, value", used in JS request object. All keys should end with colon.</param>
  955. <returns>a link tag</returns>
  956. <remarks>onclick attribute is used by this method.</remarks>
  957. <example>
  958. <code>
  959. // plain text
  960. JSHelper.AjaxRequest("'/user/show/1'");
  961. // ajax request using this.href
  962. string link = "&lt;a href=\"/user/call/1\" onclick=\"" + JSHelper.AjaxRequest("this.href") + "/&lt;call user&lt;/a&gt;";
  963. </code>
  964. </example>
  965. </member>
  966. <member name="M:HttpServer.Helpers.JSHelper.AjaxUpdater(System.String,System.String,System.String[])">
  967. <summary>
  968. Ajax requests that updates an element with
  969. the fetched content
  970. </summary>
  971. <param name="url">url to fetch. Url is NOT enclosed in quotes by the implementation. You need to do that yourself.</param>
  972. <param name="targetId">element to update</param>
  973. <param name="options">options in format "key, value, key, value". All keys should end with colon.</param>
  974. <returns>A link tag.</returns>
  975. <example>
  976. <code>
  977. JSHelper.AjaxUpdater("'/user/show/1'", "user", "onsuccess:", "alert('hello');", "asynchronous:", "true");
  978. </code>
  979. </example>
  980. </member>
  981. <member name="M:HttpServer.Helpers.JSHelper.CreateDialog(System.String,System.String,System.String[])">
  982. <summary>
  983. Opens contents in a dialog window.
  984. </summary>
  985. <param name="url">url to contents of dialog</param>
  986. <param name="title">link title</param>
  987. <param name="options">name, value, name, value, all parameter names should end with colon.</param>
  988. </member>
  989. <member name="M:HttpServer.Helpers.JSHelper.CloseDialog">
  990. <summary>
  991. Close a javascript dialog window/div.
  992. </summary>
  993. <returns>javascript for closing a dialog.</returns>
  994. <see cref="M:HttpServer.Helpers.JSHelper.CreateDialog(System.String,System.String,System.String[])"/>
  995. </member>
  996. <member name="T:HttpServer.Helpers.GetIdTitle">
  997. <summary>
  998. Delegate used by <see cref="M:HttpServer.Helpers.FormHelper.Select(System.String,System.Collections.IEnumerable,HttpServer.Helpers.GetIdTitle,System.Object,System.Boolean)"/> to populate select options.
  999. </summary>
  1000. <param name="obj">current object (for instance a User).</param>
  1001. <param name="id">Text that should be displayed in the value part of a &lt;optiongt;-tag.</param>
  1002. <param name="title">Text shown in the select list.</param>
  1003. <example>
  1004. // Class that is going to be used in a SELECT-tag.
  1005. public class User
  1006. {
  1007. private readonly string _realName;
  1008. private readonly int _id;
  1009. public User(int id, string realName)
  1010. {
  1011. _id = id;
  1012. _realName = realName;
  1013. }
  1014. public string RealName
  1015. {
  1016. get { return _realName; }
  1017. }
  1018. public int Id
  1019. {
  1020. get { return _id; }
  1021. }
  1022. }
  1023. // Using an inline delegate to generate the select list
  1024. public void UserInlineDelegate()
  1025. {
  1026. List&lt;User&gt; items = new List&lt;User&gt;();
  1027. items.Add(new User(1, "adam"));
  1028. items.Add(new User(2, "bertial"));
  1029. items.Add(new User(3, "david"));
  1030. string htmlSelect = Select("users", "users", items, delegate(object o, out object id, out object value)
  1031. {
  1032. User user = (User)o;
  1033. id = user.Id;
  1034. value = user.RealName;
  1035. }, 2, true);
  1036. }
  1037. // Using an method as delegate to generate the select list.
  1038. public void UseExternalDelegate()
  1039. {
  1040. List&lt;User&gt; items = new List&lt;User&gt;();
  1041. items.Add(new User(1, "adam"));
  1042. items.Add(new User(2, "bertial"));
  1043. items.Add(new User(3, "david"));
  1044. string htmlSelect = Select("users", "users", items, UserOptions, 1, true);
  1045. }
  1046. // delegate returning id and title
  1047. public static void UserOptions(object o, out object id, out object title)
  1048. {
  1049. User user = (User)o;
  1050. id = user.Id;
  1051. value = user.RealName;
  1052. } /// </example>
  1053. </member>
  1054. <member name="T:HttpServer.Controllers.BeforeFilterAttribute">
  1055. <summary>
  1056. Methods marked with BeforeFilter will be invoked before each request.
  1057. </summary>
  1058. <remarks>
  1059. BeforeFilters should take no arguments and return false
  1060. if controller method should not be invoked.
  1061. </remarks>
  1062. <seealso cref="T:HttpServer.Controllers.FilterPosition"/>
  1063. </member>
  1064. <member name="M:HttpServer.Controllers.BeforeFilterAttribute.#ctor">
  1065. <summary>
  1066. Initializes a new instance of the <see cref="T:HttpServer.Controllers.BeforeFilterAttribute"/> class.
  1067. </summary>
  1068. <remarks>
  1069. BeforeFilters should take no arguments and return false
  1070. if controller method should not be invoked.
  1071. </remarks>
  1072. </member>
  1073. <member name="M:HttpServer.Controllers.BeforeFilterAttribute.#ctor(HttpServer.Controllers.FilterPosition)">
  1074. <summary>
  1075. Initializes a new instance of the <see cref="T:HttpServer.Controllers.BeforeFilterAttribute"/> class.
  1076. </summary>
  1077. <param name="position">Specify if the filter should be invoked among the first filters, in between or among the last.</param>
  1078. <remarks>
  1079. BeforeFilters should take no arguments and return false
  1080. if controller method should not be invoked.
  1081. </remarks>
  1082. </member>
  1083. <member name="P:HttpServer.Controllers.BeforeFilterAttribute.Position">
  1084. <summary>
  1085. Filters position in before filter queue
  1086. </summary>
  1087. </member>
  1088. <member name="T:HttpServer.Controllers.FilterPosition">
  1089. <summary>
  1090. Determins when a before filter is executed.
  1091. </summary>
  1092. <seealso cref="T:HttpServer.Controllers.BeforeFilterAttribute"/>
  1093. </member>
  1094. <member name="F:HttpServer.Controllers.FilterPosition.First">
  1095. <summary>
  1096. Filter will be invoked first (unless another filter is added after this one with the First position)
  1097. </summary>
  1098. </member>
  1099. <member name="F:HttpServer.Controllers.FilterPosition.Between">
  1100. <summary>
  1101. Invoke after all first filters, and before the last filters.
  1102. </summary>
  1103. </member>
  1104. <member name="F:HttpServer.Controllers.FilterPosition.Last">
  1105. <summary>
  1106. Filter will be invoked last (unless another filter is added after this one with the Last position)
  1107. </summary>
  1108. </member>
  1109. <member name="T:HttpServer.Authentication.BasicAuthentication">
  1110. <summary>
  1111. The "basic" authentication scheme is based on the model that the
  1112. client must authenticate itself with a user-ID and a password for
  1113. each realm. The realm value should be considered an opaque string
  1114. which can only be compared for equality with other realms on that
  1115. server. The server will service the request only if it can validate
  1116. the user-ID and password for the protection space of the Request-URI.
  1117. There are no optional authentication parameters.
  1118. </summary>
  1119. </member>
  1120. <member name="T:HttpServer.Authentication.AuthModule">
  1121. <summary>
  1122. Authentication modules are used to implement different
  1123. kind of http authentication.
  1124. </summary>
  1125. </member>
  1126. <member name="M:HttpServer.Authentication.AuthModule.#ctor(HttpServer.Authentication.AuthenticationHandler,HttpServer.Authentication.AuthRequiredDelegate)">
  1127. <summary>
  1128. Initializes a new instance of the <see cref="T:HttpServer.Authentication.AuthModule"/> class.
  1129. </summary>
  1130. <param name="authenticator">Delegate used to provide information used during authentication.</param>
  1131. <param name="authRequiredDelegate">Delegate used to determine if authentication is required (may be null).</param>
  1132. </member>
  1133. <member name="M:HttpServer.Authentication.AuthModule.#ctor(HttpServer.Authentication.AuthenticationHandler)">
  1134. <summary>
  1135. Initializes a new instance of the <see cref="T:HttpServer.Authentication.AuthModule"/> class.
  1136. </summary>
  1137. <param name="authenticator">Delegate used to provide information used during authentication.</param>
  1138. </member>
  1139. <member name="M:HttpServer.Authentication.AuthModule.CreateResponse(System.String,System.Object[])">
  1140. <summary>
  1141. Create a response that can be sent in the WWW-Authenticate header.
  1142. </summary>
  1143. <param name="realm">Realm that the user should authenticate in</param>
  1144. <param name="options">Array with optional options.</param>
  1145. <returns>A correct auth request.</returns>
  1146. <exception cref="T:System.ArgumentNullException">If realm is empty or null.</exception>
  1147. </member>
  1148. <member name="M:HttpServer.Authentication.AuthModule.Authenticate(System.String,System.String,System.String,System.Object[])">
  1149. <summary>
  1150. An authentication response have been received from the web browser.
  1151. Check if it's correct
  1152. </summary>
  1153. <param name="authenticationHeader">Contents from the Authorization header</param>
  1154. <param name="realm">Realm that should be authenticated</param>
  1155. <param name="httpVerb">GET/POST/PUT/DELETE etc.</param>
  1156. <param name="options">options to specific implementations</param>
  1157. <returns>Authentication object that is stored for the request. A user class or something like that.</returns>
  1158. <exception cref="T:System.ArgumentException">if authenticationHeader is invalid</exception>
  1159. <exception cref="T:System.ArgumentNullException">If any of the paramters is empty or null.</exception>
  1160. </member>
  1161. <member name="M:HttpServer.Authentication.AuthModule.CheckAuthentication(System.String,System.String,System.String@,System.Object@)">
  1162. <summary>
  1163. Used to invoke the auth delegate that is used to lookup the username/realm.
  1164. </summary>
  1165. <param name="realm">Realm (domain) that user want to authenticate in</param>
  1166. <param name="userName">Username</param>
  1167. <param name="password">Password used for validation. Some implementations got password in clear text, they are then sent to client.</param>
  1168. <param name="login">object that will be stored in the request to help you identify the user if authentication was successful.</param>
  1169. <returns>true if authentication was successful</returns>
  1170. </member>
  1171. <member name="M:HttpServer.Authentication.AuthModule.AuthenticationRequired(HttpServer.IHttpRequest)">
  1172. <summary>
  1173. Determines if authentication is required.
  1174. </summary>
  1175. <param name="request">Http request from browser</param>
  1176. <returns>true if user should be authenticated.</returns>
  1177. <remarks>throw ForbiddenException from your delegate if no more attempts are allowed.</remarks>
  1178. <exception cref="T:HttpServer.Exceptions.ForbiddenException">If no more attempts are allowed</exception>
  1179. </member>
  1180. <member name="P:HttpServer.Authentication.AuthModule.Name">
  1181. <summary>
  1182. name used in http request.
  1183. </summary>
  1184. </member>
  1185. <member name="M:HttpServer.Authentication.BasicAuthentication.#ctor(HttpServer.Authentication.AuthenticationHandler,HttpServer.Authentication.AuthRequiredDelegate)">
  1186. <summary>
  1187. Initializes a new instance of the <see cref="T:HttpServer.Authentication.BasicAuthentication"/> class.
  1188. </summary>
  1189. <param name="authenticator">Delegate used to provide information used during authentication.</param>
  1190. <param name="authRequiredDelegate">Delegate used to determine if authentication is required (may be null).</param>
  1191. </member>
  1192. <member name="M:HttpServer.Authentication.BasicAuthentication.#ctor(HttpServer.Authentication.AuthenticationHandler)">
  1193. <summary>
  1194. Initializes a new instance of the <see cref="T:HttpServer.Authentication.BasicAuthentication"/> class.
  1195. </summary>
  1196. <param name="authenticator">Delegate used to provide information used during authentication.</param>
  1197. </member>
  1198. <member name="M:HttpServer.Authentication.BasicAuthentication.CreateResponse(System.String,System.Object[])">
  1199. <summary>
  1200. Create a response that can be sent in the WWW-Authenticate header.
  1201. </summary>
  1202. <param name="realm">Realm that the user should authenticate in</param>
  1203. <param name="options">Not used in basic auth</param>
  1204. <returns>A correct auth request.</returns>
  1205. </member>
  1206. <member name="M:HttpServer.Authentication.BasicAuthentication.Authenticate(System.String,System.String,System.String,System.Object[])">
  1207. <summary>
  1208. An authentication response have been received from the web browser.
  1209. Check if it's correct
  1210. </summary>
  1211. <param name="authenticationHeader">Contents from the Authorization header</param>
  1212. <param name="realm">Realm that should be authenticated</param>
  1213. <param name="httpVerb">GET/POST/PUT/DELETE etc.</param>
  1214. <param name="options">Not used in basic auth</param>
  1215. <returns>Authentication object that is stored for the request. A user class or something like that.</returns>
  1216. <exception cref="T:System.ArgumentException">if authenticationHeader is invalid</exception>
  1217. <exception cref="T:System.ArgumentNullException">If any of the paramters is empty or null.</exception>
  1218. </member>
  1219. <member name="P:HttpServer.Authentication.BasicAuthentication.Name">
  1220. <summary>
  1221. name used in http request.
  1222. </summary>
  1223. </member>
  1224. <member name="T:HttpServer.Rendering.Haml.Nodes.DisplayCodeNode">
  1225. <summary>
  1226. The follow node allows users to display code in a haml document
  1227. </summary>
  1228. <example>
  1229. #main Welcome =user.FirstName
  1230. </example>
  1231. </member>
  1232. <member name="T:HttpServer.Rendering.Haml.Nodes.ChildNode">
  1233. <summary>
  1234. Child nodes may not be the first node on a line
  1235. </summary>
  1236. </member>
  1237. <member name="T:HttpServer.Rendering.Haml.Nodes.Node">
  1238. <summary>
  1239. A node represents a controller code and contents. For example a html tag, an attribute list or something else.
  1240. </summary>
  1241. </member>
  1242. <member name="M:HttpServer.Rendering.Haml.Nodes.Node.#ctor(HttpServer.Rendering.Haml.Nodes.Node)">
  1243. <summary>
  1244. Add a new node
  1245. </summary>
  1246. <param name="parent">parent node.</param>
  1247. </member>
  1248. <member name="M:HttpServer.Rendering.Haml.Nodes.Node.AddModifier(HttpServer.Rendering.Haml.Nodes.Node)">
  1249. <summary>
  1250. Modifiers are used to modify the first node on the line.
  1251. Typical modifiers are attribute lists, class names and IDs.
  1252. </summary>
  1253. <param name="node">Modifier node</param>
  1254. </member>
  1255. <member name="M:HttpServer.Rendering.Haml.Nodes.Node.Parse(HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.LineInfo,System.Int32@)">
  1256. <summary>
  1257. Parse node contents add return a fresh node.
  1258. </summary>
  1259. <param name="prototypes">List containing all node types</param>
  1260. <param name="parent">Node that this is a subnode to. Can be null</param>
  1261. <param name="line">Line to parse</param>
  1262. <param name="offset">Where to start the parsing. Should be set to where the next node should start parsing.</param>
  1263. <returns>A node corresponding to the bla bla; null if parsing failed.</returns>
  1264. <exception cref="T:HttpServer.Rendering.CodeGeneratorException"></exception>
  1265. </member>
  1266. <member name="M:HttpServer.Rendering.Haml.Nodes.Node.CanHandle(System.String,System.Boolean)">
  1267. <summary>
  1268. determines if this node can handle the line (by checking the first word);
  1269. </summary>
  1270. <param name="word">Controller char (word)</param>
  1271. <returns>true if text belongs to this node type</returns>
  1272. <param name="firstNode">First node on line, used since some nodes cannot exist on their own on a line.</param>
  1273. </member>
  1274. <member name="M:HttpServer.Rendering.Haml.Nodes.Node.ToHtml">
  1275. <summary>
  1276. Generate HTML code (with ASP tags)
  1277. </summary>
  1278. <returns></returns>
  1279. </member>
  1280. <member name="M:HttpServer.Rendering.Haml.Nodes.Node.ToCode(System.Boolean@)">
  1281. <summary>
  1282. Converts the node to c# code
  1283. </summary>
  1284. <param name="inString">true if we are inside the internal stringbuilder</param>
  1285. <returns>c# code</returns>
  1286. </member>
  1287. <member name="M:HttpServer.Rendering.Haml.Nodes.Node.ToCode(System.Boolean@,System.Boolean)">
  1288. <summary>
  1289. Convert the node to c# code
  1290. </summary>
  1291. <param name="inString">True if we are inside the internal stringbuilder</param>
  1292. <param name="smallEnough">true if all subnodes fit on one line</param>
  1293. <returns>c# code</returns>
  1294. </member>
  1295. <member name="M:HttpServer.Rendering.Haml.Nodes.Node.ToCode(System.Boolean@,System.Boolean,System.Boolean)">
  1296. <summary>
  1297. Generate C# code of the node
  1298. </summary>
  1299. <param name="inString">true if we are inside the internal stringbuilder</param>
  1300. <param name="smallEnough">code is small enough to fit on one row.</param>
  1301. <param name="smallEnoughIsDefaultValue">smallEnough is a default value, recalc it</param>
  1302. <returns>c# code</returns>
  1303. </member>
  1304. <member name="M:HttpServer.Rendering.Haml.Nodes.Node.GetIntendation">
  1305. <summary>
  1306. Get intendation level for this node.
  1307. </summary>
  1308. <returns></returns>
  1309. </member>
  1310. <member name="P:HttpServer.Rendering.Haml.Nodes.Node.IsTextNode">
  1311. <summary>
  1312. Returns true if the node is applicable after another node as text instead of being applied as a modifier
  1313. </summary>
  1314. </member>
  1315. <member name="P:HttpServer.Rendering.Haml.Nodes.Node.AllChildrenCount">
  1316. <summary>
  1317. Count our children and our childrens children and so on...
  1318. </summary>
  1319. </member>
  1320. <member name="P:HttpServer.Rendering.Haml.Nodes.Node.Children">
  1321. <summary>
  1322. All child nodes for this node.
  1323. </summary>
  1324. </member>
  1325. <member name="P:HttpServer.Rendering.Haml.Nodes.Node.LineInfo">
  1326. <summary>
  1327. Should only be set for each parent.
  1328. </summary>
  1329. </member>
  1330. <member name="P:HttpServer.Rendering.Haml.Nodes.Node.Modifiers">
  1331. <summary>
  1332. Modifiers are used to modify the first node on the line.
  1333. Typical modifiers are attribute lists, class names and IDs.
  1334. </summary>
  1335. </member>
  1336. <member name="P:HttpServer.Rendering.Haml.Nodes.Node.LastModifier">
  1337. <summary>
  1338. Last modifier for this node
  1339. </summary>
  1340. <seealso cref="P:HttpServer.Rendering.Haml.Nodes.Node.Modifiers"/>
  1341. </member>
  1342. <member name="P:HttpServer.Rendering.Haml.Nodes.Node.ModifierCount">
  1343. <summary>
  1344. Number of modifiers for this line.
  1345. </summary>
  1346. </member>
  1347. <member name="P:HttpServer.Rendering.Haml.Nodes.Node.Parent">
  1348. <summary>
  1349. Parent node.
  1350. </summary>
  1351. </member>
  1352. <member name="M:HttpServer.Rendering.Haml.Nodes.ChildNode.#ctor(HttpServer.Rendering.Haml.Nodes.Node)">
  1353. <summary>
  1354. Child nodes may not be the first node on a line
  1355. </summary>
  1356. <param name="parent">parent node</param>
  1357. </member>
  1358. <member name="M:HttpServer.Rendering.Haml.Nodes.ChildNode.AddMe(HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.LineInfo,HttpServer.Rendering.Haml.Nodes.Node)">
  1359. <summary>
  1360. Creates a DIV node and add's the specified node to it.
  1361. </summary>
  1362. <param name="prototypes">Contains all prototypes for each control char. used to instanciate new nodes.</param>
  1363. <param name="parent">parent node</param>
  1364. <param name="line">current line information</param>
  1365. <param name="me">node to add to the DIV node</param>
  1366. <returns>current node</returns>
  1367. </member>
  1368. <member name="M:HttpServer.Rendering.Haml.Nodes.ChildNode.GetEndPos(System.Int32,System.String,System.Char)">
  1369. <summary>
  1370. Get endposition for this modifier.
  1371. </summary>
  1372. <param name="offset">where to start searching</param>
  1373. <param name="line">contents of the current line</param>
  1374. <param name="terminator">char that tells us that this is the end position</param>
  1375. <returns>index on the current line</returns>
  1376. </member>
  1377. <member name="M:HttpServer.Rendering.Haml.Nodes.ChildNode.GetEndPos(System.Int32,System.String)">
  1378. <summary>
  1379. Get endposition for this modifier.
  1380. </summary>
  1381. <param name="offset">where to start searching</param>
  1382. <param name="line">contents of the current line</param>
  1383. <returns>index on the current line</returns>
  1384. </member>
  1385. <member name="P:HttpServer.Rendering.Haml.Nodes.ChildNode.IsTextNode">
  1386. <summary>
  1387. This is a plain text node
  1388. </summary>
  1389. </member>
  1390. <member name="M:HttpServer.Rendering.Haml.Nodes.DisplayCodeNode.#ctor(HttpServer.Rendering.Haml.Nodes.Node)">
  1391. <summary>
  1392. Contains C# code that will be rendered into the view.
  1393. </summary>
  1394. <param name="parent">Parent node</param>
  1395. </member>
  1396. <member name="M:HttpServer.Rendering.Haml.Nodes.DisplayCodeNode.Parse(HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.LineInfo,System.Int32@)">
  1397. <summary>
  1398. Parse node contents add return a fresh node.
  1399. </summary>
  1400. <param name="prototypes">List containing all node types</param>
  1401. <param name="parent">Node that this is a subnode to. Can be null</param>
  1402. <param name="line">Line to parse</param>
  1403. <param name="offset">Where to start the parsing. Should be set to where the next node should start parsing.</param>
  1404. <returns>A node corresponding to the bla bla; null if parsing failed.</returns>
  1405. <exception cref="T:HttpServer.Rendering.CodeGeneratorException"></exception>
  1406. </member>
  1407. <member name="M:HttpServer.Rendering.Haml.Nodes.DisplayCodeNode.CanHandle(System.String,System.Boolean)">
  1408. <summary>
  1409. determines if this node can handle the line (by checking the first word);
  1410. </summary>
  1411. <param name="word">Controller char (word)</param>
  1412. <returns>true if text belongs to this node type</returns>
  1413. <param name="firstNode">first node on line</param>
  1414. </member>
  1415. <member name="M:HttpServer.Rendering.Haml.Nodes.DisplayCodeNode.ToHtml">
  1416. <summary>
  1417. Generate HTML for this node (with asp tags for code)
  1418. </summary>
  1419. <returns></returns>
  1420. </member>
  1421. <member name="M:HttpServer.Rendering.Haml.Nodes.DisplayCodeNode.ToCode(System.Boolean@,System.Boolean,System.Boolean)">
  1422. <summary>
  1423. = is placed at the end of a tag definition, after class, id, and attribute declarations.
  1424. It’s just a shortcut for inserting Ruby code into an element. It works the same as = without a tag:
  1425. it inserts the result of the Ruby code into the template.
  1426. However, if the result is short enough, it is displayed entirely on one line.
  1427. </summary>
  1428. <param name="inString">True if we are inside the internal stringbuilder</param>
  1429. <param name="smallEnough">true if all subnodes fit on one line</param>
  1430. <param name="smallEnoughIsDefaultValue">smallEnough is a default value, recalc it</param>
  1431. <returns>c# code</returns>
  1432. </member>
  1433. <member name="P:HttpServer.Rendering.Haml.Nodes.DisplayCodeNode.IsTextNode">
  1434. <summary>
  1435. Determines if this is a textnode (containg plain text)
  1436. </summary>
  1437. </member>
  1438. <member name="T:HttpServer.Rendering.Haml.Nodes.AttributeNode">
  1439. <summary>
  1440. Contains HTML attributes.
  1441. </summary>
  1442. </member>
  1443. <member name="M:HttpServer.Rendering.Haml.Nodes.AttributeNode.#ctor(HttpServer.Rendering.Haml.Nodes.Node,System.Collections.Generic.List{HttpServer.Rendering.Haml.Nodes.AttributeNode.Attribute})">
  1444. <summary>
  1445. Create a new node
  1446. </summary>
  1447. <param name="parent">parent node</param>
  1448. <param name="col">collection of attributes</param>
  1449. </member>
  1450. <member name="M:HttpServer.Rendering.Haml.Nodes.AttributeNode.#ctor(HttpServer.Rendering.Haml.Nodes.Node)">
  1451. <summary>
  1452. create an attribute node
  1453. </summary>
  1454. <param name="parent">parent node</param>
  1455. </member>
  1456. <member name="M:HttpServer.Rendering.Haml.Nodes.AttributeNode.GetAttribute(System.String)">
  1457. <summary>
  1458. Get an attribute
  1459. </summary>
  1460. <param name="name">name of the attribute (case sensitive)</param>
  1461. <returns>attribute if found; otherwise null.</returns>
  1462. </member>
  1463. <member name="M:HttpServer.Rendering.Haml.Nodes.AttributeNode.Parse(HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.LineInfo,System.Int32@)">
  1464. <summary>
  1465. Parse node contents add return a fresh node.
  1466. </summary>
  1467. <param name="prototypes">List containing all node types</param>
  1468. <param name="parent">Node that this is a subnode to. Can be null</param>
  1469. <param name="line">Line to parse</param>
  1470. <param name="offset">Where to start the parsing. Should be set to where the next node should start parsing.</param>
  1471. <returns>A node corresponding to the bla bla; null if parsing failed.</returns>
  1472. <exception cref="T:HttpServer.Rendering.CodeGeneratorException"></exception>
  1473. </member>
  1474. <member name="M:HttpServer.Rendering.Haml.Nodes.AttributeNode.CanHandle(System.String,System.Boolean)">
  1475. <summary>
  1476. determines if this node can handle the line (by checking the first word);
  1477. </summary>
  1478. <param name="word">Controller char (word)</param>
  1479. <returns>true if text belongs to this node type</returns>
  1480. <param name="firstNode">first node on line</param>
  1481. </member>
  1482. <member name="M:HttpServer.Rendering.Haml.Nodes.AttributeNode.ToHtml">
  1483. <summary>
  1484. Convert node to HTML (with ASP-tags)
  1485. </summary>
  1486. <returns>HTML string</returns>
  1487. </member>
  1488. <member name="M:HttpServer.Rendering.Haml.Nodes.AttributeNode.ToCode(System.Boolean@,System.Boolean,System.Boolean)">
  1489. <summary>
  1490. Convert the node to c# code
  1491. </summary>
  1492. <param name="inString">True if we are inside the internal stringbuilder</param>
  1493. <param name="smallEnough">true if all subnodes fit on one line</param>
  1494. <param name="smallEnoughIsDefaultValue">smallEnough is a default value, recalc it</param>
  1495. <returns>c# code</returns>
  1496. </member>
  1497. <member name="P:HttpServer.Rendering.Haml.Nodes.AttributeNode.Attributes">
  1498. <summary>
  1499. html attributes
  1500. </summary>
  1501. </member>
  1502. <member name="T:HttpServer.Rendering.Haml.Nodes.AttributeNode.Attribute">
  1503. <summary>
  1504. A attribute
  1505. </summary>
  1506. </member>
  1507. <member name="F:HttpServer.Rendering.Haml.Nodes.AttributeNode.Attribute.Simple">
  1508. <summary>
  1509. value is a simple word or quoted text
  1510. </summary>
  1511. </member>
  1512. <member name="F:HttpServer.Rendering.Haml.Nodes.AttributeNode.Attribute.Name">
  1513. <summary>
  1514. Name of the attribute
  1515. </summary>
  1516. </member>
  1517. <member name="F:HttpServer.Rendering.Haml.Nodes.AttributeNode.Attribute.Value">
  1518. <summary>
  1519. Value, can be a statement, variable or quoted text.
  1520. </summary>
  1521. </member>
  1522. <member name="T:HttpServer.Rendering.TemplateArguments">
  1523. <summary>
  1524. Arguments being used in a template.
  1525. </summary>
  1526. <seealso cref="T:HttpServer.Rendering.TemplateManager"/>
  1527. <seealso cref="T:HttpServer.Rendering.ITinyTemplate"/>
  1528. </member>
  1529. <member name="F:HttpServer.Rendering.TemplateArguments._arguments">
  1530. <summary>
  1531. Holds the arguments connected to their names for quick access.
  1532. (since the ArgumentContainer also holds the name for the argument the mapping with strings is somewhat redundant
  1533. but since the data do 'belong' to the ArgumentContainer this solution was chosen to speed up access)
  1534. </summary>
  1535. </member>
  1536. <member name="M:HttpServer.Rendering.TemplateArguments.#ctor">
  1537. <summary>
  1538. Initializes the class without any set arguments.
  1539. </summary>
  1540. </member>
  1541. <member name="M:HttpServer.Rendering.TemplateArguments.#ctor(HttpServer.Rendering.TemplateArguments)">
  1542. <summary>
  1543. Initializes the class with all the arguments of the parameter class.
  1544. </summary>
  1545. <param name="arguments">Cannot be null</param>
  1546. <exception cref="T:System.ArgumentNullException">If arguments is null</exception>
  1547. </member>
  1548. <member name="M:HttpServer.Rendering.TemplateArguments.#ctor(System.Object[])">
  1549. <summary>
  1550. Initializes the class with the objects in the parameterlist.
  1551. Note that each object that is null must be followed by a type.
  1552. </summary>
  1553. <param name="arguments">Should contain ordered pairs/truples of string, object and type where type is optional if the object isn´t null</param>
  1554. <example>new TemplateArguments("Dir", "\", "Users", null, typeof(User));</example>
  1555. <exception cref="T:System.ArgumentException">If optional type differs from type of object (if object != null) or argument name is duplicate</exception>
  1556. <exception cref="T:System.ArgumentException">If the order of objects is incorrect</exception>
  1557. <exception cref="T:System.ArgumentNullException">If any argument name or type is null</exception>
  1558. </member>
  1559. <member name="M:HttpServer.Rendering.TemplateArguments.Update(HttpServer.Rendering.TemplateArguments)">
  1560. <summary>
  1561. A function that merges two argument holders updating and adding values
  1562. </summary>
  1563. <param name="arguments"></param>
  1564. <exception cref="T:System.ArgumentNullException">If arguments is null</exception>
  1565. </member>
  1566. <member name="M:HttpServer.Rendering.TemplateArguments.Finalize">
  1567. <summary>
  1568. Clears added arguments
  1569. </summary>
  1570. </member>
  1571. <member name="M:HttpServer.Rendering.TemplateArguments.Add(System.String,System.Object)">
  1572. <summary>
  1573. Adds an argument.
  1574. (Will throw ArgumentException on duplicates since adding an argument twice points to incorrect code, for ways around
  1575. this <see cref="M:HttpServer.Rendering.TemplateArguments.Update(System.String,System.Object)"/>
  1576. </summary>
  1577. <param name="argumentName">Cannot be null</param>
  1578. <param name="argumentObject">Cannot be null</param>
  1579. <exception cref="T:System.NullReferenceException">If argumentName or argumentObject is null</exception>
  1580. <exception cref="T:System.ArgumentException">If an argument named argumentName already exists</exception>
  1581. </member>
  1582. <member name="M:HttpServer.Rendering.TemplateArguments.Add(System.String,System.Object,System.Type)">
  1583. <summary>
  1584. Adds an argument. Allows for argumentObject to be null
  1585. (Will throw ArgumentException <see cref="M:HttpServer.Rendering.TemplateArguments.Add(System.String,System.Object)"/>
  1586. </summary>
  1587. <param name="argumentName">Cannot be null</param>
  1588. <param name="argumentObject"></param>
  1589. <param name="argumentType">Cannot be null</param>
  1590. <exception cref="T:System.NullReferenceException">If argumentName or argumentType is null</exception>
  1591. <exception cref="T:System.ArgumentException">If an argument named argumentName already exists or argumentObject != null and typeof(argumentObject) differs from argumentType</exception>
  1592. </member>
  1593. <member name="M:HttpServer.Rendering.TemplateArguments.Update(System.String,System.Object)">
  1594. <summary>
  1595. Updates an already added argument
  1596. </summary>
  1597. <param name="argumentName">Cannot be null</param>
  1598. <param name="argumentObject">Cannot be null</param>
  1599. <exception cref="T:System.ArgumentException">If no argument named argumentName exists</exception>
  1600. <exception cref="T:System.ArgumentNullException">If argumentName or argumentObject is null</exception>
  1601. </member>
  1602. <member name="M:HttpServer.Rendering.TemplateArguments.Update(System.String,System.Object,System.Type)">
  1603. <summary>
  1604. Updates an already added argument, allows for argumentObject to be null
  1605. </summary>
  1606. <param name="argumentName">Cannot be null</param>
  1607. <param name="argumentObject"></param>
  1608. <param name="argumentType">Cannot be null</param>
  1609. <exception cref="T:System.ArgumentNullException">If argumentName or argumentType is null</exception>
  1610. <exception cref="T:System.ArgumentException">If an argument named argumentName doesn´t exists or argumentObject != null and typeof(argumentObject) differs from argumentType</exception>
  1611. </member>
  1612. <member name="M:HttpServer.Rendering.TemplateArguments.Clear">
  1613. <summary>
  1614. Clears all added arguments
  1615. </summary>
  1616. </member>
  1617. <member name="M:HttpServer.Rendering.TemplateArguments.GetArguments">
  1618. <summary>
  1619. Retrieves the arguments
  1620. (Does so now by copying the values to a new array, could be optimized?)
  1621. </summary>
  1622. <returns>An array containing arguments with name, object and type</returns>
  1623. </member>
  1624. <member name="M:HttpServer.Rendering.TemplateArguments.GetHashCode">
  1625. <summary>
  1626. Returns a individual hashcode built upon the specified types the class is holding
  1627. </summary>
  1628. <remarks>The hashcode is made by joining the typenames of all held arguments and making a string hashcode from them</remarks>
  1629. <returns></returns>
  1630. </member>
  1631. <member name="M:HttpServer.Rendering.TemplateArguments.GetFullTypeName(System.Type)">
  1632. <summary>
  1633. Retrieves a concated typename ie DictinaryInt32String
  1634. </summary>
  1635. <param name="type">The type to retrieve the name for</param>
  1636. </member>
  1637. <member name="M:HttpServer.Rendering.TemplateArguments.Contains(System.String)">
  1638. <summary>
  1639. Checks whether a specific argument is specified or not.
  1640. </summary>
  1641. <param name="name">Argument name</param>
  1642. <returns>true if argument is specified; otherwise false.</returns>
  1643. </member>
  1644. <member name="P:HttpServer.Rendering.TemplateArguments.Item(System.String)">
  1645. <summary>
  1646. Function to make it possible to index out known arguments
  1647. </summary>
  1648. <param name="name">The name of an added argument</param>
  1649. <returns>Null if no ArgumentContainer by name was found</returns>
  1650. </member>
  1651. <member name="T:HttpServer.Rendering.ArgumentContainer">
  1652. <summary>
  1653. A container class grouping mapping name, argument type and the argument object
  1654. </summary>
  1655. </member>
  1656. <member name="F:HttpServer.Rendering.ArgumentContainer._argumentName">
  1657. <summary>
  1658. Contains the name mapped to the argument
  1659. </summary>
  1660. </member>
  1661. <member name="F:HttpServer.Rendering.ArgumentContainer._argumentType">
  1662. <summary>
  1663. Contains the type of the argument, this must be valid if _argumentObject is null
  1664. </summary>
  1665. </member>
  1666. <member name="F:HttpServer.Rendering.ArgumentContainer._argumentObject">
  1667. <summary>
  1668. Holds the actual object
  1669. </summary>
  1670. </member>
  1671. <member name="M:HttpServer.Rendering.ArgumentContainer.#ctor(System.String,System.Object)">
  1672. <summary>
  1673. Constructor to initiate an ArgumentContainer, will set the ArgumentType to the value of the argumentObject's type
  1674. </summary>
  1675. <param name="argumentName">Cannot be null</param>
  1676. <param name="argumentObject">Cannot be null</param>
  1677. <exception cref="T:System.ArgumentNullException">If argumentName or argumentObject is null</exception>
  1678. </member>
  1679. <member name="M:HttpServer.Rendering.ArgumentContainer.#ctor(System.String,System.Object,System.Type)">
  1680. <summary>
  1681. Alternative constructor allowing argumentObject parameter to be null
  1682. </summary>
  1683. <param name="argumentName">Cannot be null</param>
  1684. <param name="argumentObject"></param>
  1685. <param name="argumentType">Cannot be null</param>
  1686. <exception cref="T:System.NullReferenceException">If argumentName or argumentType is null</exception>
  1687. <exception cref="T:System.ArgumentException">If argumentObject != null and argumentType != typeof(argumentObject)</exception>
  1688. </member>
  1689. <member name="M:HttpServer.Rendering.ArgumentContainer.SetObject(System.Object)">
  1690. <summary>
  1691. Sets the object and type of the argument, equal to ArgumentContainer.Object = ...
  1692. </summary>
  1693. <param name="argumentObject">Cannot be null</param>
  1694. <exception cref="T:System.ArgumentNullException">If argumentObject is null</exception>
  1695. </member>
  1696. <member name="M:HttpServer.Rendering.ArgumentContainer.SetObject(System.Object,System.Type)">
  1697. <summary>
  1698. Sets the argument object and type. Type of the object and argumentType must correspond.
  1699. </summary>
  1700. <param name="argumentObject"></param>
  1701. <param name="argumentType">Cannot be null</param>
  1702. <exception cref="T:System.ArgumentNullException">If argumentType is null</exception>
  1703. <exception cref="T:System.ArgumentException">If typeof(argumentObject) differs from argumentType and object != null</exception>
  1704. </member>
  1705. <member name="P:HttpServer.Rendering.ArgumentContainer.Name">
  1706. <summary>
  1707. Attribute for retrieving the name. The name cannot be set however because an argument is defined by its name
  1708. changing the name would be changing the arguments meaning, thus an argument needing a name change should rather
  1709. be recreated
  1710. </summary>
  1711. </member>
  1712. <member name="P:HttpServer.Rendering.ArgumentContainer.Type">
  1713. <summary>
  1714. Returns the type of the argument object. The property cannot be set since the type depends on and must correspond to
  1715. the type of the object
  1716. </summary>
  1717. </member>
  1718. <member name="P:HttpServer.Rendering.ArgumentContainer.Object">
  1719. <summary>
  1720. Returns or changes the argument object. If the object is to be changed to null the type must be passed aswell,
  1721. in that case <see cref="M:HttpServer.Rendering.ArgumentContainer.SetObject(System.Object,System.Type)"/>
  1722. </summary>
  1723. <exception cref="T:System.ArgumentNullException">If set value is null</exception>
  1724. </member>
  1725. <member name="T:HttpServer.Rendering.Haml.Nodes.PartialNode">
  1726. <summary>
  1727. A partial is a HAML template that is inserted into other HAML templates.
  1728. </summary>
  1729. </member>
  1730. <member name="F:HttpServer.Rendering.Haml.Nodes.PartialNode._target">
  1731. <summary>
  1732. Contains the page/controller target for the partial.
  1733. The PartialNode should be written as follows:
  1734. ex.
  1735. _"requestedpage"{parametername="parametervalue",parametername2=parameter2,parametername3=parameter3:typeof(parameter3type)}
  1736. </summary>
  1737. </member>
  1738. <member name="M:HttpServer.Rendering.Haml.Nodes.PartialNode.#ctor(HttpServer.Rendering.Haml.Nodes.Node)">
  1739. <summary>
  1740. create a new partial node.
  1741. </summary>
  1742. <param name="parent">parent node</param>
  1743. </member>
  1744. <member name="M:HttpServer.Rendering.Haml.Nodes.PartialNode.CanHandle(System.String,System.Boolean)">
  1745. <summary>
  1746. Determines if this node can handle the line (by checking the first word);
  1747. </summary>
  1748. <param name="word">Controller char (word)</param>
  1749. <returns>True if text belongs to this node type</returns>
  1750. <param name="firstNode">First node on line.</param>
  1751. </member>
  1752. <member name="M:HttpServer.Rendering.Haml.Nodes.PartialNode.Parse(HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.LineInfo,System.Int32@)">
  1753. <summary>
  1754. Parse node contents add return a fresh node.
  1755. </summary>
  1756. <param name="parent">Node that this is a subnode to. Can be null</param>
  1757. <param name="prototypes">A list with node types</param>
  1758. <param name="line">Line to parse</param>
  1759. <param name="offset">Where to start the parsing. Will be set to where the next node should start parsing</param>
  1760. <returns>A node corresponding to the bla bla; null if parsing failed.</returns>
  1761. <exception cref="T:HttpServer.Rendering.CodeGeneratorException"></exception>
  1762. </member>
  1763. <member name="M:HttpServer.Rendering.Haml.Nodes.PartialNode.ToCode(System.Boolean@,System.Boolean,System.Boolean)">
  1764. <summary>
  1765. Convert the node to c# code
  1766. </summary>
  1767. <param name="inString">True if we are inside the internal stringbuilder</param>
  1768. <param name="smallEnough">true if all subnodes fit on one line</param>
  1769. <param name="smallEnoughIsDefaultValue">smallEnough is a default value, recalc it</param>
  1770. <returns>c# code</returns>
  1771. </member>
  1772. <member name="M:HttpServer.Rendering.Haml.Nodes.PartialNode.ToHtml">
  1773. <summary>
  1774. Convert node to HTML (with ASP-tags)
  1775. </summary>
  1776. <returns>HTML string</returns>
  1777. </member>
  1778. <member name="M:HttpServer.Rendering.Haml.Nodes.PartialNode.GetCode">
  1779. <summary>
  1780. Helper function to retrieve the code for the partial request
  1781. </summary>
  1782. <returns>A string representing the code for invocating a render of the partial</returns>
  1783. </member>
  1784. <member name="M:HttpServer.Rendering.Haml.Nodes.PartialNode.ThrowError(System.String)">
  1785. <summary>
  1786. Throw an exception with predefined information
  1787. </summary>
  1788. <param name="reason">why the exception was thrown</param>
  1789. </member>
  1790. <member name="P:HttpServer.Rendering.Haml.Nodes.PartialNode.IsTextNode">
  1791. <summary>
  1792. This is a plain text node
  1793. </summary>
  1794. </member>
  1795. <member name="P:HttpServer.Rendering.Haml.Nodes.PartialNode.Target">
  1796. <summary>
  1797. Returns the page/controller target for the node
  1798. </summary>
  1799. </member>
  1800. <member name="T:HttpServer.Rendering.ResourceTemplateLoader">
  1801. <summary>
  1802. Loads templates from embedded resources.
  1803. </summary>
  1804. </member>
  1805. <member name="M:HttpServer.Rendering.ResourceTemplateLoader.LoadTemplates(System.String,System.Reflection.Assembly,System.String)">
  1806. <summary>
  1807. Loads templates from a namespace in the given assembly to an uri
  1808. </summary>
  1809. <param name="toUri">The uri to map the resources to</param>
  1810. <param name="fromAssembly">The assembly in which the resources reside</param>
  1811. <param name="fromNamespace">The namespace from which to load the resources</param>
  1812. <usage>
  1813. resourceLoader.LoadResources("/user/", typeof(User).Assembly, "MyLib.Models.User.Views");
  1814. will make ie the resource MyLib.Models.User.Views.list.Haml accessible via /user/list.haml or /user/list/
  1815. </usage>
  1816. </member>
  1817. <member name="M:HttpServer.Rendering.ResourceTemplateLoader.LoadTemplate(System.String)">
  1818. <summary>
  1819. Load a template into a <see cref="T:System.IO.TextReader"/> and return it.
  1820. </summary>
  1821. <param name="path">Relative path (and filename) to template.</param>
  1822. <returns>
  1823. a <see cref="T:System.IO.TextReader"/> if file was found; otherwise null.
  1824. </returns>
  1825. </member>
  1826. <member name="M:HttpServer.Rendering.ResourceTemplateLoader.GetFiles(System.String,System.String)">
  1827. <summary>
  1828. Fetch all files from the resource that matches the specified arguments.
  1829. </summary>
  1830. <param name="path">Where the file should reside.</param>
  1831. <param name="filename">Files to check</param>
  1832. <returns>
  1833. a list of files if found; or an empty array if no files are found.
  1834. </returns>
  1835. </member>
  1836. <member name="M:HttpServer.Rendering.ResourceTemplateLoader.CheckTemplate(HttpServer.Rendering.ITemplateInfo)">
  1837. <summary>
  1838. Always returns true since a resource won't be updated during execution
  1839. </summary>
  1840. <param name="info"></param>
  1841. <returns></returns>
  1842. </member>
  1843. <member name="M:HttpServer.Rendering.ResourceTemplateLoader.HasTemplate(System.String)">
  1844. <summary>
  1845. Returns whether or not the loader has an instance of the file requested
  1846. </summary>
  1847. <param name="filename">The name of the template/file</param>
  1848. <returns>True if the loader can provide the file</returns>
  1849. </member>
  1850. <member name="T:HttpServer.LogPrio">
  1851. <summary>
  1852. Priority for log entries
  1853. </summary>
  1854. <seealso cref="T:HttpServer.ILogWriter"/>
  1855. </member>
  1856. <member name="F:HttpServer.LogPrio.Trace">
  1857. <summary>
  1858. Very detailed logs to be able to follow the flow of the program.
  1859. </summary>
  1860. </member>
  1861. <member name="F:HttpServer.LogPrio.Debug">
  1862. <summary>
  1863. Logs to help debug errors in the application
  1864. </summary>
  1865. </member>
  1866. <member name="F:HttpServer.LogPrio.Info">
  1867. <summary>
  1868. Information to be able to keep track of state changes etc.
  1869. </summary>
  1870. </member>
  1871. <member name="F:HttpServer.LogPrio.Warning">
  1872. <summary>
  1873. Something did not go as we expected, but it's no problem.
  1874. </summary>
  1875. </member>
  1876. <member name="F:HttpServer.LogPrio.Error">
  1877. <summary>
  1878. Something that should not fail failed, but we can still keep
  1879. on going.
  1880. </summary>
  1881. </member>
  1882. <member name="F:HttpServer.LogPrio.Fatal">
  1883. <summary>
  1884. Something failed, and we cannot handle it properly.
  1885. </summary>
  1886. </member>
  1887. <member name="T:HttpServer.ILogWriter">
  1888. <summary>
  1889. Interface used to write to log files.
  1890. </summary>
  1891. </member>
  1892. <member name="M:HttpServer.ILogWriter.Write(System.Object,HttpServer.LogPrio,System.String)">
  1893. <summary>
  1894. Write an entry to the log file.
  1895. </summary>
  1896. <param name="source">object that is writing to the log</param>
  1897. <param name="priority">importance of the log message</param>
  1898. <param name="message">the message</param>
  1899. </member>
  1900. <member name="T:HttpServer.ConsoleLogWriter">
  1901. <summary>
  1902. This class writes to the console. It colors the output depending on the logprio and includes a 3-level stacktrace (in debug mode)
  1903. </summary>
  1904. <seealso cref="T:HttpServer.ILogWriter"/>
  1905. </member>
  1906. <member name="F:HttpServer.ConsoleLogWriter.Instance">
  1907. <summary>
  1908. The actual instance of this class.
  1909. </summary>
  1910. </member>
  1911. <member name="M:HttpServer.ConsoleLogWriter.Write(System.Object,HttpServer.LogPrio,System.String)">
  1912. <summary>
  1913. Logwriters the specified source.
  1914. </summary>
  1915. <param name="source">object that wrote the logentry.</param>
  1916. <param name="prio">Importance of the log message</param>
  1917. <param name="message">The message.</param>
  1918. </member>
  1919. <member name="M:HttpServer.ConsoleLogWriter.GetColor(HttpServer.LogPrio)">
  1920. <summary>
  1921. Get color for the specified logprio
  1922. </summary>
  1923. <param name="prio">prio for the log entry</param>
  1924. <returns>A <see cref="T:System.ConsoleColor"/> for the prio</returns>
  1925. </member>
  1926. <member name="T:HttpServer.NullLogWriter">
  1927. <summary>
  1928. Default log writer, writes everything to null (nowhere).
  1929. </summary>
  1930. <seealso cref="T:HttpServer.ILogWriter"/>
  1931. </member>
  1932. <member name="F:HttpServer.NullLogWriter.Instance">
  1933. <summary>
  1934. The logging instance.
  1935. </summary>
  1936. </member>
  1937. <member name="M:HttpServer.NullLogWriter.Write(System.Object,HttpServer.LogPrio,System.String)">
  1938. <summary>
  1939. Writes everything to null
  1940. </summary>
  1941. <param name="source">object that wrote the logentry.</param>
  1942. <param name="prio">Importance of the log message</param>
  1943. <param name="message">The message.</param>
  1944. </member>
  1945. <member name="T:HttpServer.HttpInput">
  1946. <summary>
  1947. Contains some kind of input from the browser/client.
  1948. can be QueryString, form data or any other request body content.
  1949. </summary>
  1950. </member>
  1951. <member name="T:HttpServer.IHttpInput">
  1952. <summary>
  1953. Base class for request data containers
  1954. </summary>
  1955. </member>
  1956. <member name="M:HttpServer.IHttpInput.Add(System.String,System.String)">
  1957. <summary>
  1958. Adds a parameter mapped to the presented name
  1959. </summary>
  1960. <param name="name">The name to map the parameter to</param>
  1961. <param name="value">The parameter value</param>
  1962. </member>
  1963. <member name="M:HttpServer.IHttpInput.Contains(System.String)">
  1964. <summary>
  1965. Returns true if the container contains the requested parameter
  1966. </summary>
  1967. <param name="name">Parameter id</param>
  1968. <returns>True if parameter exists</returns>
  1969. </member>
  1970. <member name="P:HttpServer.IHttpInput.Item(System.String)">
  1971. <summary>
  1972. Returns a request parameter
  1973. </summary>
  1974. <param name="name">The name associated with the parameter</param>
  1975. <returns></returns>
  1976. </member>
  1977. <member name="F:HttpServer.HttpInput.Empty">
  1978. <summary> Representation of a non-initialized class instance </summary>
  1979. </member>
  1980. <member name="F:HttpServer.HttpInput._ignoreChanges">
  1981. <summary> Variable telling the class that it is non-initialized <see cref="F:HttpServer.HttpInput.Empty"/> </summary>
  1982. </member>
  1983. <member name="M:HttpServer.HttpInput.#ctor(System.String)">
  1984. <summary>
  1985. Initializes a new instance of the <see cref="T:HttpServer.HttpInput"/> class.
  1986. </summary>
  1987. <param name="name">form name.</param>
  1988. </member>
  1989. <member name="M:HttpServer.HttpInput.#ctor(System.String,System.Boolean)">
  1990. <summary>
  1991. Initializes a new instance of the <see cref="T:HttpServer.HttpInput"/> class.
  1992. </summary>
  1993. <param name="name">form name.</param>
  1994. <param name="ignoreChanges">if set to <c>true</c> all changes will be ignored. </param>
  1995. <remarks>this constructor should only be used by Empty</remarks>
  1996. </member>
  1997. <member name="M:HttpServer.HttpInput.#ctor(HttpServer.HttpInput)">
  1998. <summary>Creates a deep copy of the HttpInput class</summary>
  1999. <param name="input">The object to copy</param>
  2000. <remarks>The function makes a deep copy of quite a lot which can be slow</remarks>
  2001. </member>
  2002. <member name="M:HttpServer.HttpInput.Add(System.String,System.String)">
  2003. <summary>
  2004. Add a new element. Form array elements are parsed
  2005. and added in a correct hierachy.
  2006. </summary>
  2007. <param name="name">Name is converted to lower case.</param>
  2008. <param name="value"></param>
  2009. </member>
  2010. <member name="M:HttpServer.HttpInput.Contains(System.String)">
  2011. <summary>
  2012. Returns true if the class contains a HttpInput value with the corresponding name
  2013. </summary>
  2014. <param name="name">The field/querystring name</param>
  2015. <returns>True if the value exists</returns>
  2016. </member>
  2017. <member name="M:HttpServer.HttpInput.ParseItem(System.String,System.String)">
  2018. <summary>
  2019. Parses an item and returns it.
  2020. This function is primarly used to parse array items as in user[name].
  2021. </summary>
  2022. <param name="name"></param>
  2023. <param name="value"></param>
  2024. <returns></returns>
  2025. </member>
  2026. <member name="M:HttpServer.HttpInput.ToString">
  2027. <summary> Outputs the instance representing all its values joined together </summary>
  2028. <returns></returns>
  2029. </member>
  2030. <member name="M:HttpServer.HttpInput.ToString(System.Boolean)">
  2031. <summary>Returns all items as an unescaped query string.</summary>
  2032. <returns></returns>
  2033. </member>
  2034. <member name="M:HttpServer.HttpInput.ExtractOne(System.String)">
  2035. <summary>
  2036. Extracts one parameter from an array
  2037. </summary>
  2038. <param name="value">Containing the string array</param>
  2039. <returns>All but the first value</returns>
  2040. <example>
  2041. string test1 = ExtractOne("system[user][extension][id]");
  2042. string test2 = ExtractOne(test1);
  2043. string test3 = ExtractOne(test2);
  2044. // test1 = user[extension][id]
  2045. // test2 = extension[id]
  2046. // test3 = id
  2047. </example>
  2048. </member>
  2049. <member name="M:HttpServer.HttpInput.Clear">
  2050. <summary>Resets all data contained by class</summary>
  2051. </member>
  2052. <member name="M:HttpServer.HttpInput.System#Collections#Generic#IEnumerable{HttpServer#HttpInputItem}#GetEnumerator">
  2053. <summary>
  2054. Returns an enumerator that iterates through the collection.
  2055. </summary>
  2056. <returns>
  2057. A <see cref="T:System.Collections.Generic.IEnumerator`1"></see> that can be used to iterate through the collection.
  2058. </returns>
  2059. <filterpriority>1</filterpriority>
  2060. </member>
  2061. <member name="M:HttpServer.HttpInput.GetEnumerator">
  2062. <summary>
  2063. Returns an enumerator that iterates through a collection.
  2064. </summary>
  2065. <returns>
  2066. An <see cref="T:System.Collections.IEnumerator"></see> object that can be used to iterate through the collection.
  2067. </returns>
  2068. <filterpriority>2</filterpriority>
  2069. </member>
  2070. <member name="P:HttpServer.HttpInput.Name">
  2071. <summary>
  2072. Form name as lower case
  2073. </summary>
  2074. </member>
  2075. <member name="P:HttpServer.HttpInput.Item(System.String)">
  2076. <summary>
  2077. Get a form item.
  2078. </summary>
  2079. <param name="name"></param>
  2080. <returns>Returns HttpInputItem.Empty if item was not found.</returns>
  2081. </member>
  2082. <member name="T:HttpServer.HttpParam">
  2083. <summary>
  2084. Returns item either from a form or a query string (checks them in that order)
  2085. </summary>
  2086. </member>
  2087. <member name="F:HttpServer.HttpParam.Empty">
  2088. <summary> Representation of a non-initialized HttpParam </summary>
  2089. </member>
  2090. <member name="M:HttpServer.HttpParam.#ctor(HttpServer.IHttpInput,HttpServer.IHttpInput)">
  2091. <summary>Initialises the class to hold a value either from a post request or a querystring request</summary>
  2092. </member>
  2093. <member name="M:HttpServer.HttpParam.Add(System.String,System.String)">
  2094. <summary>
  2095. The add method is not availible for HttpParam
  2096. since HttpParam checks both Request.Form and Request.QueryString
  2097. </summary>
  2098. <param name="name">name identifying the value</param>
  2099. <param name="value">value to add</param>
  2100. <exception cref="T:System.NotImplementedException"></exception>
  2101. </member>
  2102. <member name="M:HttpServer.HttpParam.Contains(System.String)">
  2103. <summary>
  2104. Checks whether the form or querystring has the specified value
  2105. </summary>
  2106. <param name="name">Name, case sensitive</param>
  2107. <returns>true if found; otherwise false.</returns>
  2108. </member>
  2109. <member name="M:HttpServer.HttpParam.System#Collections#Generic#IEnumerable{HttpServer#HttpInputItem}#GetEnumerator">
  2110. <summary>
  2111. Returns an enumerator that iterates through the collection.
  2112. </summary>
  2113. <returns>
  2114. A <see cref="T:System.Collections.Generic.IEnumerator`1"></see> that can be used to iterate through the collection.
  2115. </returns>
  2116. <filterpriority>1</filterpriority>
  2117. </member>
  2118. <member name="M:HttpServer.HttpParam.GetEnumerator">
  2119. <summary>
  2120. Returns an enumerator that iterates through a collection.
  2121. </summary>
  2122. <returns>
  2123. An <see cref="T:System.Collections.IEnumerator"></see> object that can be used to iterate through the collection.
  2124. </returns>
  2125. <filterpriority>2</filterpriority>
  2126. </member>
  2127. <member name="P:HttpServer.HttpParam.Item(System.String)">
  2128. <summary>
  2129. Fetch an item from the form or querystring (in that order).
  2130. </summary>
  2131. <param name="name"></param>
  2132. <returns>Item if found; otherwise HttpInputItem.EmptyLanguageNode</returns>
  2133. </member>
  2134. <member name="T:HttpServer.HttpFile">
  2135. <summary>
  2136. Container class for posted files
  2137. </summary>
  2138. </member>
  2139. <member name="M:HttpServer.HttpFile.#ctor(System.String,System.String,System.String,System.String)">
  2140. <summary>
  2141. Creates a container for a posted file
  2142. </summary>
  2143. <param name="name">The identifier of the post field</param>
  2144. <param name="filename">The file path</param>
  2145. <param name="contentType">The content type of the file</param>
  2146. <param name="uploadFilename">The name of the file uploaded</param>
  2147. <exception cref="T:System.ArgumentNullException">If any parameter is null or empty</exception>
  2148. </member>
  2149. <member name="M:HttpServer.HttpFile.#ctor(System.String,System.String,System.String)">
  2150. <summary>
  2151. Creates a container for a posted file <see cref="M:HttpServer.HttpFile.#ctor(System.String,System.String,System.String,System.String)"/>
  2152. </summary>
  2153. <exception cref="T:System.ArgumentNullException">If any parameter is null or empty</exception>
  2154. </member>
  2155. <member name="M:HttpServer.HttpFile.Finalize">
  2156. <summary>Destructor disposing the file</summary>
  2157. </member>
  2158. <member name="M:HttpServer.HttpFile.Dispose(System.Boolean)">
  2159. <summary>
  2160. Deletes the temporary file
  2161. </summary>
  2162. <param name="disposing">True if manual dispose</param>
  2163. </member>
  2164. <member name="M:HttpServer.HttpFile.Dispose">
  2165. <summary>
  2166. Disposing interface, cleans up managed resources (the temporary file) and suppresses finalization
  2167. </summary>
  2168. </member>
  2169. <member name="P:HttpServer.HttpFile.Name">
  2170. <summary>
  2171. The name/id of the file
  2172. </summary>
  2173. </member>
  2174. <member name="P:HttpServer.HttpFile.Filename">
  2175. <summary>
  2176. The full file path
  2177. </summary>
  2178. </member>
  2179. <member name="P:HttpServer.HttpFile.UploadFilename">
  2180. <summary>
  2181. The name of the uploaded file
  2182. </summary>
  2183. </member>
  2184. <member name="P:HttpServer.HttpFile.ContentType">
  2185. <summary>
  2186. The type of file
  2187. </summary>
  2188. </member>
  2189. <member name="T:HttpServer.Helpers.ObjectForm">
  2190. <summary>
  2191. The object form class takes an object and creates form items for it.
  2192. </summary>
  2193. </member>
  2194. <member name="M:HttpServer.Helpers.ObjectForm.#ctor(System.String,System.String,System.Object,System.String)">
  2195. <summary>
  2196. Initializes a new instance of the <see cref="T:HttpServer.Helpers.ObjectForm"/> class.
  2197. </summary>
  2198. <param name="method"></param>
  2199. <param name="name">form name *and* id.</param>
  2200. <param name="action">action to do when form is posted.</param>
  2201. <param name="obj"></param>
  2202. </member>
  2203. <member name="M:HttpServer.Helpers.ObjectForm.#ctor(System.String,System.String,System.Object)">
  2204. <summary>
  2205. Initializes a new instance of the <see cref="T:HttpServer.Helpers.ObjectForm"/> class.
  2206. </summary>
  2207. <param name="name">form name *and* id.</param>
  2208. <param name="action">action to do when form is posted.</param>
  2209. <param name="obj">object to get values from</param>
  2210. </member>
  2211. <member name="M:HttpServer.Helpers.ObjectForm.#ctor(System.String,System.Object)">
  2212. <summary>
  2213. Initializes a new instance of the <see cref="T:HttpServer.Helpers.ObjectForm"/> class.
  2214. </summary>
  2215. <param name="action">form action.</param>
  2216. <param name="obj">object to get values from.</param>
  2217. </member>
  2218. <member name="M:HttpServer.Helpers.ObjectForm.Begin">
  2219. <summary>
  2220. write out the FORM-tag.
  2221. </summary>
  2222. <returns>generated html code</returns>
  2223. </member>
  2224. <member name="M:HttpServer.Helpers.ObjectForm.Begin(System.Boolean)">
  2225. <summary>
  2226. Writeout the form tag
  2227. </summary>
  2228. <param name="isAjax">form should be posted through ajax.</param>
  2229. <returns>generated html code</returns>
  2230. </member>
  2231. <member name="M:HttpServer.Helpers.ObjectForm.Tb(System.String,System.Object[])">
  2232. <summary>
  2233. Generates a text box.
  2234. </summary>
  2235. <param name="propertyName"></param>
  2236. <param name="options"></param>
  2237. <returns>generated html code</returns>
  2238. </member>
  2239. <member name="M:HttpServer.Helpers.ObjectForm.Pb(System.String,System.Object[])">
  2240. <summary>
  2241. password box
  2242. </summary>
  2243. <param name="propertyName"></param>
  2244. <param name="options"></param>
  2245. <returns>generated html code</returns>
  2246. </member>
  2247. <member name="M:HttpServer.Helpers.ObjectForm.Hidden(System.String,System.Object[])">
  2248. <summary>
  2249. Hiddens the specified property name.
  2250. </summary>
  2251. <param name="propertyName">Name of the property.</param>
  2252. <param name="options">The options.</param>
  2253. <returns>generated html code</returns>
  2254. </member>
  2255. <member name="M:HttpServer.Helpers.ObjectForm.Label(System.String,System.String)">
  2256. <summary>
  2257. Labels the specified property name.
  2258. </summary>
  2259. <param name="propertyName">property in object.</param>
  2260. <param name="label">caption</param>
  2261. <returns>generated html code</returns>
  2262. </member>
  2263. <member name="M:HttpServer.Helpers.ObjectForm.Cb(System.String,System.String,System.Object[])">
  2264. <summary>
  2265. Generate a checkbox
  2266. </summary>
  2267. <param name="propertyName">property in object</param>
  2268. <param name="value">checkbox value</param>
  2269. <param name="options">additional html attributes.</param>
  2270. <returns>generated html code</returns>
  2271. </member>
  2272. <member name="M:HttpServer.Helpers.ObjectForm.Select(System.String,System.String,System.String,System.Object[])">
  2273. <summary>
  2274. Write a html select tag
  2275. </summary>
  2276. <param name="propertyName">object property.</param>
  2277. <param name="idColumn">id column</param>
  2278. <param name="titleColumn">The title column.</param>
  2279. <param name="options">The options.</param>
  2280. <returns></returns>
  2281. </member>
  2282. <member name="M:HttpServer.Helpers.ObjectForm.Select(System.String,System.Collections.IEnumerable,System.String,System.String,System.Object[])">
  2283. <summary>
  2284. Selects the specified property name.
  2285. </summary>
  2286. <param name="propertyName">Name of the property.</param>
  2287. <param name="items">The items.</param>
  2288. <param name="idColumn">The id column.</param>
  2289. <param name="titleColumn">The title column.</param>
  2290. <param name="options">The options.</param>
  2291. <returns></returns>
  2292. </member>
  2293. <member name="M:HttpServer.Helpers.ObjectForm.Submit(System.String)">
  2294. <summary>
  2295. Write a submit tag.
  2296. </summary>
  2297. <param name="value">button caption</param>
  2298. <returns>html submit tag</returns>
  2299. </member>
  2300. <member name="M:HttpServer.Helpers.ObjectForm.End">
  2301. <summary>
  2302. html end form tag
  2303. </summary>
  2304. <returns>html</returns>
  2305. </member>
  2306. <member name="T:HttpServer.FormDecoders.FormDecoderProvider">
  2307. <summary>
  2308. This provider is used to let us implement any type of form decoding we want without
  2309. having to rewrite anything else in the server.
  2310. </summary>
  2311. </member>
  2312. <member name="M:HttpServer.FormDecoders.FormDecoderProvider.Decode(System.String,System.IO.Stream,System.Text.Encoding)">
  2313. <summary>
  2314. </summary>
  2315. <param name="contentType">Should contain boundary and type, as in: multipart/form-data; boundary=---------------------------230051238959</param>
  2316. <param name="stream">Stream containg form data.</param>
  2317. <param name="encoding">Encoding used when decoding the stream</param>
  2318. <returns>HttpInput.EmptyLanguageNode if no parser was found. Must always return something (HttpInput.Empty instead of null)</returns>
  2319. <exception cref="T:System.ArgumentException">If stream is null or not readable.</exception>
  2320. <exception cref="T:System.IO.InvalidDataException">If stream contents cannot be decoded properly.</exception>
  2321. </member>
  2322. <member name="M:HttpServer.FormDecoders.FormDecoderProvider.Add(HttpServer.FormDecoders.IFormDecoder)">
  2323. <summary>
  2324. Add a decoder.
  2325. </summary>
  2326. <param name="decoder"></param>
  2327. <exception cref="T:System.ArgumentNullException"></exception>
  2328. </member>
  2329. <member name="P:HttpServer.FormDecoders.FormDecoderProvider.Count">
  2330. <summary>
  2331. Number of added decoders.
  2332. </summary>
  2333. </member>
  2334. <member name="P:HttpServer.FormDecoders.FormDecoderProvider.Decoders">
  2335. <summary>
  2336. Use with care.
  2337. </summary>
  2338. </member>
  2339. <member name="P:HttpServer.FormDecoders.FormDecoderProvider.DefaultDecoder">
  2340. <summary>
  2341. Decoder used for unknown content types.
  2342. </summary>
  2343. </member>
  2344. <member name="T:HttpServer.Rendering.Haml.Rules.AttributesRule">
  2345. <summary>
  2346. Contains an (html) attribute list.
  2347. </summary>
  2348. </member>
  2349. <member name="T:HttpServer.Rendering.Haml.Rules.Rule">
  2350. <summary>
  2351. Rules are used during preparse
  2352. </summary>
  2353. </member>
  2354. <member name="M:HttpServer.Rendering.Haml.Rules.Rule.IsMultiLine(HttpServer.Rendering.Haml.LineInfo,System.Boolean)">
  2355. <summary>
  2356. Determines if this node spans over multiple lines.
  2357. </summary>
  2358. <param name="line">contains line information (and text)</param>
  2359. <param name="isContinued">true if rule have previously inited a multiline.</param>
  2360. <returns>true if this line continues onto the next.</returns>///
  2361. </member>
  2362. <member name="M:HttpServer.Rendering.Haml.Rules.AttributesRule.IsMultiLine(HttpServer.Rendering.Haml.LineInfo,System.Boolean)">
  2363. <summary>
  2364. Determines if this node spans over multiple lines.
  2365. </summary>
  2366. <param name="line">contains line information (and text)</param>
  2367. <param name="isContinued">true if the previous line was continued.</param>
  2368. <returns>true if this line continues onto the next.</returns>
  2369. </member>
  2370. <member name="T:HttpServer.Rendering.Haml.Nodes.TextNode">
  2371. <summary>
  2372. A text only node.
  2373. </summary>
  2374. </member>
  2375. <member name="M:HttpServer.Rendering.Haml.Nodes.TextNode.#ctor(HttpServer.Rendering.Haml.Nodes.Node,System.String)">
  2376. <summary>
  2377. </summary>
  2378. <param name="parent">parent node</param>
  2379. <param name="text">plain text</param>
  2380. </member>
  2381. <member name="M:HttpServer.Rendering.Haml.Nodes.TextNode.Parse(HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.LineInfo,System.Int32@)">
  2382. <summary>
  2383. Parse node contents add return a fresh node.
  2384. </summary>
  2385. <param name="prototypes">List containing all node types</param>
  2386. <param name="parent">Node that this is a subnode to. Can be null</param>
  2387. <param name="line">Line to parse</param>
  2388. <param name="offset">Where to start the parsing. Should be set to where the next node should start parsing.</param>
  2389. <returns>A node corresponding to the bla bla; null if parsing failed.</returns>
  2390. <exception cref="T:HttpServer.Rendering.CodeGeneratorException"></exception>
  2391. </member>
  2392. <member name="M:HttpServer.Rendering.Haml.Nodes.TextNode.CanHandle(System.String,System.Boolean)">
  2393. <summary>
  2394. determines if this node can handle the line (by checking the first word);
  2395. </summary>
  2396. <param name="word">Controller char (word)</param>
  2397. <returns>true if text belongs to this node type</returns>
  2398. <param name="firstNode">true if this is the first node on the line.</param>
  2399. </member>
  2400. <member name="M:HttpServer.Rendering.Haml.Nodes.TextNode.ToHtml">
  2401. <summary>
  2402. Generate HTML for this node.
  2403. </summary>
  2404. <returns></returns>
  2405. </member>
  2406. <member name="M:HttpServer.Rendering.Haml.Nodes.TextNode.ToCode(System.Boolean@,System.Boolean,System.Boolean)">
  2407. <summary>
  2408. Convert the node to c# code
  2409. </summary>
  2410. <param name="inString">True if we are inside the internal stringbuilder</param>
  2411. <param name="smallEnough">true if all subnodes fit on one line</param>
  2412. <param name="smallEnoughIsDefaultValue">todo: add description</param>
  2413. <returns>c# code</returns>
  2414. </member>
  2415. <member name="P:HttpServer.Rendering.Haml.Nodes.TextNode.Text">
  2416. <summary>
  2417. The text.
  2418. </summary>
  2419. </member>
  2420. <member name="P:HttpServer.Rendering.Haml.Nodes.TextNode.IsTextNode">
  2421. <summary>
  2422. Is this a text node (containing plain text)?
  2423. </summary>
  2424. </member>
  2425. <member name="T:HttpServer.HttpModules.ResourceFileModule">
  2426. <summary>
  2427. Serves files that are stored in embedded resources.
  2428. </summary>
  2429. </member>
  2430. <member name="M:HttpServer.HttpModules.ResourceFileModule.#ctor">
  2431. <summary>
  2432. Initializes a new instance of the <see cref="T:HttpServer.HttpModules.ResourceFileModule"/> class.
  2433. Runs <see cref="M:HttpServer.HttpModules.ResourceFileModule.AddDefaultMimeTypes"/> to make sure the basic mime types are available, they can be cleared later
  2434. through the use of <see cref="P:HttpServer.HttpModules.ResourceFileModule.MimeTypes"/> if desired.
  2435. </summary>
  2436. </member>
  2437. <member name="M:HttpServer.HttpModules.ResourceFileModule.AddDefaultMimeTypes">
  2438. <summary>
  2439. Mimtypes that this class can handle per default
  2440. </summary>
  2441. </member>
  2442. <member name="M:HttpServer.HttpModules.ResourceFileModule.AddResources(System.String,System.Reflection.Assembly,System.String)">
  2443. <summary>
  2444. Loads resources from a namespace in the given assembly to an uri
  2445. </summary>
  2446. <param name="toUri">The uri to map the resources to</param>
  2447. <param name="fromAssembly">The assembly in which the resources reside</param>
  2448. <param name="fromNamespace">The namespace from which to load the resources</param>
  2449. <usage>
  2450. resourceLoader.LoadResources("/user/", typeof(User).Assembly, "MyLib.Models.User.Views");
  2451. will make ie the resource MyLib.Models.User.Views.stylesheet.css accessible via /user/stylesheet.css
  2452. </usage>
  2453. </member>
  2454. <member name="M:HttpServer.HttpModules.ResourceFileModule.CanHandle(HttpServer.IHttpRequest)">
  2455. <summary>
  2456. Returns true if the module can handle the request
  2457. </summary>
  2458. </member>
  2459. <member name="M:HttpServer.HttpModules.ResourceFileModule.Process(HttpServer.IHttpRequest,HttpServer.IHttpResponse,HttpServer.Sessions.IHttpSession)">
  2460. <summary>
  2461. Method that process the url
  2462. </summary>
  2463. <param name="request">Information sent by the browser about the request</param>
  2464. <param name="response">Information that is being sent back to the client.</param>
  2465. <param name="session">Session used to </param>
  2466. <returns>true if this module handled the request.</returns>
  2467. </member>
  2468. <member name="P:HttpServer.HttpModules.ResourceFileModule.MimeTypes">
  2469. <summary>
  2470. List with all mime-type that are allowed.
  2471. </summary>
  2472. <remarks>All other mime types will result in a Forbidden http status code.</remarks>
  2473. </member>
  2474. <member name="T:HttpServer.FormDecoders.XmlDecoder">
  2475. <summary>
  2476. This decoder converts XML documents to form items.
  2477. Each element becomes a subitem in the form, and each attribute becomes an item.
  2478. </summary>
  2479. <example>
  2480. // xml: <hello id="1">something<world id="2">data</world></hello>
  2481. // result:
  2482. // form["hello"].Value = "something"
  2483. // form["hello"]["id"].Value = 1
  2484. // form["hello"]["world]["id"].Value = 1
  2485. // form["hello"]["world"].Value = "data"
  2486. </example>
  2487. <remarks>
  2488. The original xml document is stored in form["__xml__"].Value.
  2489. </remarks>
  2490. </member>
  2491. <member name="T:HttpServer.FormDecoders.IFormDecoder">
  2492. <summary>
  2493. Interface for form content decoders.
  2494. </summary>
  2495. </member>
  2496. <member name="M:HttpServer.FormDecoders.IFormDecoder.Decode(System.IO.Stream,System.String,System.Text.Encoding)">
  2497. <summary>
  2498. </summary>
  2499. <param name="stream">Stream containing the content</param>
  2500. <param name="contentType">Content type (with any additional info like boundry). Content type is always supplied in lower case</param>
  2501. <param name="encoding">Stream enconding</param>
  2502. <returns>A http form, or null if content could not be parsed.</returns>
  2503. <exception cref="T:System.IO.InvalidDataException">If contents in the stream is not valid input data.</exception>
  2504. </member>
  2505. <member name="M:HttpServer.FormDecoders.IFormDecoder.CanParse(System.String)">
  2506. <summary>
  2507. Checks if the decoder can handle the mime type
  2508. </summary>
  2509. <param name="contentType">Content type (with any additional info like boundry). Content type is always supplied in lower case.</param>
  2510. <returns>True if the decoder can parse the specified content type</returns>
  2511. </member>
  2512. <member name="M:HttpServer.FormDecoders.XmlDecoder.Decode(System.IO.Stream,System.String,System.Text.Encoding)">
  2513. <summary>
  2514. </summary>
  2515. <param name="stream">Stream containing the content</param>
  2516. <param name="contentType">Content type (with any additional info like boundry). Content type is always supplied in lower case</param>
  2517. <param name="encoding">Stream encoding</param>
  2518. Note: contentType and encoding are not used?
  2519. <returns>A http form, or null if content could not be parsed.</returns>
  2520. <exception cref="T:System.IO.InvalidDataException"></exception>
  2521. </member>
  2522. <member name="M:HttpServer.FormDecoders.XmlDecoder.TraverseNode(HttpServer.IHttpInput,System.Xml.XmlNode)">
  2523. <summary>
  2524. Recursive function that will go through an xml element and store it's content
  2525. to the form item.
  2526. </summary>
  2527. <param name="item">(parent) Item in form that content should be added to.</param>
  2528. <param name="node">Node that should be parsed.</param>
  2529. </member>
  2530. <member name="M:HttpServer.FormDecoders.XmlDecoder.CanParse(System.String)">
  2531. <summary>
  2532. Checks if the decoder can handle the mime type
  2533. </summary>
  2534. <param name="contentType">Content type (with any additional info like boundry). Content type is always supplied in lower case.</param>
  2535. <returns>True if the decoder can parse the specified content type</returns>
  2536. </member>
  2537. <member name="T:HttpServer.Controllers.ControllerNameAttribute">
  2538. <summary>
  2539. This attribute can be used to map a controller to a specific url without using
  2540. the class name.
  2541. </summary>
  2542. </member>
  2543. <member name="M:HttpServer.Controllers.ControllerNameAttribute.#ctor(System.String)">
  2544. <summary>
  2545. Maps a controller to a url without using the controller name.
  2546. </summary>
  2547. <remarks>
  2548. <para>Per default the class name is used to determine which url to handle.
  2549. For instance, "class UserController" or "class User" tells the framework that
  2550. the urls that starts with "/user" should be handled by that controller.</para>
  2551. <para>This attribute can be used to circumvent that.</para>
  2552. </remarks>
  2553. <param name="name">The name.</param>
  2554. </member>
  2555. <member name="P:HttpServer.Controllers.ControllerNameAttribute.Name">
  2556. <summary>
  2557. The name that the controller should use
  2558. </summary>
  2559. </member>
  2560. <member name="T:HttpServer.Sessions.IHttpSessionStore">
  2561. <summary>
  2562. A session store is used to store and load sessions on a media.
  2563. The default implementation (<see cref="T:HttpServer.Sessions.MemorySessionStore"/>) saves/retrieves sessions from memory.
  2564. </summary>
  2565. </member>
  2566. <member name="M:HttpServer.Sessions.IHttpSessionStore.Create">
  2567. <summary>
  2568. Creates a new http session with a generated id.
  2569. </summary>
  2570. <returns>A <see cref="T:HttpServer.Sessions.IHttpSession"/> object</returns>
  2571. </member>
  2572. <member name="M:HttpServer.Sessions.IHttpSessionStore.Create(System.String)">
  2573. <summary>
  2574. Creates a new http session with a specific id
  2575. </summary>
  2576. <param name="id">Id used to identify the new cookie..</param>
  2577. <returns>A <see cref="T:HttpServer.Sessions.IHttpSession"/> object.</returns>
  2578. <remarks>
  2579. Id should be generated by the store implementation if it's null or <see cref="F:System.String.Empty"/>.
  2580. </remarks>
  2581. </member>
  2582. <member name="M:HttpServer.Sessions.IHttpSessionStore.Load(System.String)">
  2583. <summary>
  2584. Load an existing session.
  2585. </summary>
  2586. <param name="sessionId">Session id (usually retrieved from a client side cookie).</param>
  2587. <returns>A session if found; otherwise null.</returns>
  2588. </member>
  2589. <member name="M:HttpServer.Sessions.IHttpSessionStore.Save(HttpServer.Sessions.IHttpSession)">
  2590. <summary>
  2591. Save an updated session to the store.
  2592. </summary>
  2593. <param name="session">Session id (usually retrieved from a client side cookie).</param>
  2594. <exception cref="T:System.ArgumentException">If Id property have not been specified.</exception>
  2595. </member>
  2596. <member name="M:HttpServer.Sessions.IHttpSessionStore.AddUnused(HttpServer.Sessions.IHttpSession)">
  2597. <summary>
  2598. We use the flyweight pattern which reuses small objects
  2599. instead of creating new each time.
  2600. </summary>
  2601. <param name="session">Unused session that should be reused next time Create is called.</param>
  2602. </member>
  2603. <member name="M:HttpServer.Sessions.IHttpSessionStore.Cleanup">
  2604. <summary>
  2605. Remove expired sessions
  2606. </summary>
  2607. </member>
  2608. <member name="M:HttpServer.Sessions.IHttpSessionStore.Remove(System.String)">
  2609. <summary>
  2610. Remove a session
  2611. </summary>
  2612. <param name="sessionId">id of the session.</param>
  2613. </member>
  2614. <member name="P:HttpServer.Sessions.IHttpSessionStore.Item(System.String)">
  2615. <summary>
  2616. Load a session from the store
  2617. </summary>
  2618. <param name="sessionId"></param>
  2619. <returns>null if session is not found.</returns>
  2620. </member>
  2621. <member name="P:HttpServer.Sessions.IHttpSessionStore.ExpireTime">
  2622. <summary>
  2623. Number of minutes before a session expires.
  2624. </summary>
  2625. <value>Default time is 20 minutes.</value>
  2626. </member>
  2627. <member name="T:HttpServer.HttpListener">
  2628. <summary>
  2629. HTTP Listener waits for HTTP connections and provide us with <see cref="T:System.Net.HttpListenerContext"/>s using the
  2630. <see cref="P:HttpServer.HttpListener.RequestHandler"/> delegate.
  2631. </summary>
  2632. </member>
  2633. <member name="M:HttpServer.HttpListener.#ctor(System.Net.IPAddress,System.Int32)">
  2634. <summary>
  2635. Listen for regular HTTP connections
  2636. </summary>
  2637. <param name="address">IP Address to accept connections on</param>
  2638. <param name="port">TCP Port to listen on, default HTTP port is 80.</param>
  2639. </member>
  2640. <member name="M:HttpServer.HttpListener.#ctor(System.Net.IPAddress,System.Int32,System.Security.Cryptography.X509Certificates.X509Certificate)">
  2641. <summary>
  2642. Launch HttpListener in SSL mode
  2643. </summary>
  2644. <param name="address">IP Address to accept connections on</param>
  2645. <param name="port">TCP Port to listen on, default HTTPS port is 443</param>
  2646. <param name="certificate">Certificate to use</param>
  2647. </member>
  2648. <member name="M:HttpServer.HttpListener.#ctor(System.Net.IPAddress,System.Int32,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Authentication.SslProtocols)">
  2649. <summary>
  2650. Launch HttpListener in SSL mode
  2651. </summary>
  2652. <param name="address">IP Address to accept connections on</param>
  2653. <param name="port">TCP Port to listen on, default HTTPS port is 443</param>
  2654. <param name="certificate">Certificate to use</param>
  2655. <param name="protocol">which HTTPS protocol to use, default is TLS.</param>
  2656. </member>
  2657. <member name="M:HttpServer.HttpListener.Start(System.Int32)">
  2658. <summary>
  2659. Start listen for new connections
  2660. </summary>
  2661. <param name="backlog">Number of connections that can stand in a queue to be accepted.</param>
  2662. </member>
  2663. <member name="M:HttpServer.HttpListener.Stop">
  2664. <summary>
  2665. Stop the listener
  2666. </summary>
  2667. <exception cref="T:System.Net.Sockets.SocketException"></exception>
  2668. </member>
  2669. <member name="E:HttpServer.HttpListener.Accepted">
  2670. <summary>
  2671. A client have been accepted, but not handled, by the listener.
  2672. </summary>
  2673. </member>
  2674. <member name="P:HttpServer.HttpListener.DisconnectHandler">
  2675. <summary>
  2676. Invoked when a client disconnects
  2677. </summary>
  2678. </member>
  2679. <member name="P:HttpServer.HttpListener.LogWriter">
  2680. <summary>
  2681. Gives you a change to receive log entries for all internals of the HTTP library.
  2682. </summary>
  2683. <remarks>
  2684. You may not switch log writer after starting the listener.
  2685. </remarks>
  2686. </member>
  2687. <member name="P:HttpServer.HttpListener.RequestHandler">
  2688. <summary>
  2689. This handler will be invoked each time a new connection is accepted.
  2690. </summary>
  2691. </member>
  2692. <member name="P:HttpServer.HttpListener.UseTraceLogs">
  2693. <summary>
  2694. True if we should turn on trace logs.
  2695. </summary>
  2696. </member>
  2697. <member name="E:HttpServer.HttpListener.ExceptionThrown">
  2698. <summary>
  2699. Let's to receive unhandled exceptions from the threads.
  2700. </summary>
  2701. <remarks>
  2702. Exceptions will be thrown during debug mode if this event is not used,
  2703. exceptions will be printed to console and suppressed during release mode.
  2704. </remarks>
  2705. </member>
  2706. <member name="T:HttpServer.Helpers.Implementations.PrototypeImp">
  2707. <summary>
  2708. PrototypeJS implementation of the javascript functions.
  2709. </summary>
  2710. </member>
  2711. <member name="M:HttpServer.Helpers.Implementations.PrototypeImp.AjaxRequest(System.String,System.String[])">
  2712. <summary>
  2713. Requests a url through ajax
  2714. </summary>
  2715. <param name="url">url to fetch. Url is NOT enclosed in quotes by the implementation. You need to do that yourself.</param>
  2716. <param name="options">optional options in format "key, value, key, value", used in JS request object. All keys should end with colon.</param>
  2717. <returns>a link tag</returns>
  2718. <remarks>onclick attribute is used by this method.</remarks>
  2719. <example>
  2720. <code>
  2721. // plain text
  2722. JSHelper.AjaxRequest("'/user/show/1'");
  2723. // ajax request using this.href
  2724. string link = "&lt;a href=\"/user/call/1\" onclick=\"" + JSHelper.AjaxRequest("this.href") + "/&lt;call user&lt;/a&gt;";
  2725. </code>
  2726. </example>
  2727. </member>
  2728. <member name="M:HttpServer.Helpers.Implementations.PrototypeImp.Contains(System.Collections.Generic.IEnumerable{System.String},System.String)">
  2729. <summary>
  2730. Determins if a list of strings contains a specific value
  2731. </summary>
  2732. <param name="options">options to check in</param>
  2733. <param name="value">value to find</param>
  2734. <returns>true if value was found</returns>
  2735. <remarks>case insensitive</remarks>
  2736. </member>
  2737. <member name="M:HttpServer.Helpers.Implementations.PrototypeImp.AjaxUpdater(System.String,System.String,System.String[])">
  2738. <summary>
  2739. Ajax requests that updates an element with
  2740. the fetched content
  2741. </summary>
  2742. <param name="url">url to fetch. Url is NOT enclosed in quotes by the implementation. You need to do that yourself.</param>
  2743. <param name="targetId">element to update</param>
  2744. <param name="options">options in format "key, value, key, value". All keys should end with colon.</param>
  2745. <returns>A link tag.</returns>
  2746. <example>
  2747. <code>
  2748. JSHelper.AjaxUpdater("'/user/show/1'", "user", "onsuccess:", "alert('hello');", "asynchronous:", "true");
  2749. </code>
  2750. </example>
  2751. </member>
  2752. <member name="M:HttpServer.Helpers.Implementations.PrototypeImp.DialogLink(System.String,System.String,System.String[])">
  2753. <summary>
  2754. A link that pop ups a Dialog (overlay div)
  2755. </summary>
  2756. <param name="url">url to contents of dialog</param>
  2757. <param name="title">link title</param>
  2758. <param name="htmlAttributes">name, value, name, value</param>
  2759. <returns>
  2760. A "a"-tag that popups a dialog when clicked
  2761. </returns>
  2762. <remarks><para>Requires Control.Modal found here: http://livepipe.net/projects/control_modal/</para>
  2763. And the following javascript (load it in application.js):
  2764. <code>
  2765. Event.observe(window, 'load',
  2766. function() {
  2767. document.getElementsByClassName('modal').each(function(link){ new Control.Modal(link); });
  2768. }
  2769. );
  2770. </code>
  2771. </remarks>
  2772. <example>
  2773. WebHelper.DialogLink("/user/show/1", "show user", "onmouseover", "alert('booh!');");
  2774. </example>
  2775. </member>
  2776. <member name="M:HttpServer.Helpers.Implementations.PrototypeImp.CreateDialog(System.String,System.String,System.String[])">
  2777. <summary>
  2778. create a modal dialog (usually using DIVs)
  2779. </summary>
  2780. <param name="url">url to fetch</param>
  2781. <param name="title">dialog title</param>
  2782. <param name="options">javascript/html attributes. javascript options ends with colon ':'.</param>
  2783. <returns></returns>
  2784. </member>
  2785. <member name="M:HttpServer.Helpers.Implementations.PrototypeImp.CloseDialog">
  2786. <summary>
  2787. Close a javascript dialog window/div.
  2788. </summary>
  2789. <returns>javascript for closing a dialog.</returns>
  2790. <see cref="M:HttpServer.Helpers.Implementations.PrototypeImp.DialogLink(System.String,System.String,System.String[])"/>
  2791. </member>
  2792. <member name="M:HttpServer.Helpers.Implementations.PrototypeImp.AjaxFormOnSubmit(System.String[])">
  2793. <summary>
  2794. javascript action that should be added to the "onsubmit" event in the form tag.
  2795. </summary>
  2796. <param name="options">remember to encapsulate strings in ''</param>
  2797. <returns></returns>
  2798. <remarks>All javascript option names should end with colon.</remarks>
  2799. <example>
  2800. <code>
  2801. JSHelper.AjaxRequest("/user/show/1", "onsuccess:", "$('userInfo').update(result);");
  2802. </code>
  2803. </example>
  2804. </member>
  2805. <member name="T:HttpServer.Exceptions.NotFoundException">
  2806. <summary>
  2807. The requested resource was not found in the web server.
  2808. </summary>
  2809. </member>
  2810. <member name="T:HttpServer.Exceptions.HttpException">
  2811. <summary>
  2812. All HTTP based exceptions will derive this class.
  2813. </summary>
  2814. </member>
  2815. <member name="M:HttpServer.Exceptions.HttpException.#ctor(System.Net.HttpStatusCode,System.String)">
  2816. <summary>
  2817. Create a new HttpException
  2818. </summary>
  2819. <param name="code">http status code (sent in the response)</param>
  2820. <param name="message">error description</param>
  2821. </member>
  2822. <member name="M:HttpServer.Exceptions.HttpException.#ctor(System.Net.HttpStatusCode,System.String,System.Exception)">
  2823. <summary>
  2824. Create a new HttpException
  2825. </summary>
  2826. <param name="code">http status code (sent in the response)</param>
  2827. <param name="message">error description</param>
  2828. <param name="inner">inner exception</param>
  2829. </member>
  2830. <member name="P:HttpServer.Exceptions.HttpException.HttpStatusCode">
  2831. <summary>
  2832. status code to use in the response.
  2833. </summary>
  2834. </member>
  2835. <member name="M:HttpServer.Exceptions.NotFoundException.#ctor(System.String,System.Exception)">
  2836. <summary>
  2837. Create a new exception
  2838. </summary>
  2839. <param name="message">message describing the error</param>
  2840. <param name="inner">inner exception</param>
  2841. </member>
  2842. <member name="M:HttpServer.Exceptions.NotFoundException.#ctor(System.String)">
  2843. <summary>
  2844. Create a new exception
  2845. </summary>
  2846. <param name="message">message describing the error</param>
  2847. </member>
  2848. <member name="T:HttpServer.Controllers.RequestController">
  2849. <summary>
  2850. A controller in the Model-View-Controller pattern.
  2851. Derive this class and add method with one of the following signatures:
  2852. "public string MethodName()" or "public void MyMethod()".
  2853. The first should return a string with the response, the latter
  2854. should use SendHeader and SendBody methods to handle the response.
  2855. </summary>
  2856. <remarks>
  2857. Last segment of the path is always broken into the properties Id and RequestedType
  2858. Alhtough note that the RequestedType can also be empty if no file extension have
  2859. been specified. A typical use of file extensions in controllers is to specify which type of
  2860. format to return.
  2861. </remarks>
  2862. <example>
  2863. public class MyController : RequestController
  2864. {
  2865. public string Hello()
  2866. {
  2867. if (RequestedType == "xml")
  2868. return "&lt;hello&gt;World&lt;hello&gt;";
  2869. else
  2870. return "Hello " + Request.QueryString["user"].Value + ", welcome to my world";
  2871. }
  2872. public void File()
  2873. {
  2874. Response.Headers.ContentType = "text/xml";
  2875. Response.SendHeader();
  2876. }
  2877. }
  2878. </example>
  2879. <seealso cref="T:HttpServer.Controllers.ControllerNameAttribute"/>
  2880. <seealso cref="T:HttpServer.Controllers.AuthRequiredAttribute"/>
  2881. <seealso cref="T:HttpServer.Controllers.AuthValidatorAttribute"/>
  2882. </member>
  2883. <member name="M:HttpServer.Controllers.RequestController.#ctor(HttpServer.Controllers.RequestController)">
  2884. <summary>
  2885. create a new request controller
  2886. </summary>
  2887. <param name="controller">prototype to copy information from</param>
  2888. </member>
  2889. <member name="M:HttpServer.Controllers.RequestController.#ctor">
  2890. <summary>
  2891. create a new controller
  2892. </summary>
  2893. </member>
  2894. <member name="M:HttpServer.Controllers.RequestController.CanHandle(HttpServer.IHttpRequest)">
  2895. <summary>
  2896. Method that determines if an url should be handled or not by the module
  2897. </summary>
  2898. <param name="request">Url requested by the client.</param>
  2899. <returns>true if module should handle the url.</returns>
  2900. </member>
  2901. <member name="M:HttpServer.Controllers.RequestController.GetMethod(HttpServer.IHttpRequest)">
  2902. <summary>
  2903. Determines which method to use.
  2904. </summary>
  2905. <param name="request">Requested resource</param>
  2906. </member>
  2907. <member name="M:HttpServer.Controllers.RequestController.InvokeBeforeFilters">
  2908. <summary>
  2909. Call all before filters
  2910. </summary>
  2911. <returns>true if a before filter wants to abort the processing.</returns>
  2912. </member>
  2913. <member name="M:HttpServer.Controllers.RequestController.InvokeMethod">
  2914. <summary>
  2915. Override this method to be able to process result
  2916. returned by controller method.
  2917. </summary>
  2918. </member>
  2919. <member name="M:HttpServer.Controllers.RequestController.OnUnhandledException(System.Exception)">
  2920. <summary>
  2921. Override this method if you want to be able to
  2922. handle unhanded exceptions
  2923. </summary>
  2924. <param name="err">thrown exception</param>
  2925. <remarks>Don't "eat" exceptions derived from HttpException since
  2926. they are handled by the framework,unless your are sure of what you are
  2927. doing..</remarks>
  2928. </member>
  2929. <member name="M:HttpServer.Controllers.RequestController.MapMethods">
  2930. <summary>
  2931. This method goes through all methods in the controller and
  2932. add's them to a dictionary. They are later used to invoke
  2933. the correct method depending on the url
  2934. </summary>
  2935. </member>
  2936. <member name="M:HttpServer.Controllers.RequestController.Process(HttpServer.IHttpRequest,HttpServer.IHttpResponse,HttpServer.Sessions.IHttpSession)">
  2937. <summary>
  2938. Method that process the url
  2939. </summary>
  2940. <param name="request">Uses Uri and QueryString to determine method.</param>
  2941. <param name="response">Relays response object to invoked method.</param>
  2942. <param name="session">Relays session object to invoked method. </param>
  2943. </member>
  2944. <member name="M:HttpServer.Controllers.RequestController.SetupRequest(HttpServer.IHttpRequest,HttpServer.IHttpResponse,HttpServer.Sessions.IHttpSession)">
  2945. <summary>
  2946. Will assign all variables that are unique for each session
  2947. </summary>
  2948. <param name="request"></param>
  2949. <param name="response"></param>
  2950. <param name="session"></param>
  2951. </member>
  2952. <member name="M:HttpServer.Controllers.RequestController.Clone">
  2953. <summary>
  2954. Make a clone of this controller
  2955. </summary>
  2956. <returns>a new controller with the same base information as this one.</returns>
  2957. </member>
  2958. <member name="P:HttpServer.Controllers.RequestController.AuthenticationTag">
  2959. <summary>
  2960. object that was attached during http authentication process.
  2961. </summary>
  2962. <remarks>
  2963. You can also assign this tag yourself if you are using regular
  2964. http page login.
  2965. </remarks>
  2966. <seealso cref="T:HttpServer.Authentication.AuthModule"/>
  2967. </member>
  2968. <member name="P:HttpServer.Controllers.RequestController.ControllerName">
  2969. <summary>
  2970. Name of this controller (class name without the "Controller" part)
  2971. </summary>
  2972. </member>
  2973. <member name="P:HttpServer.Controllers.RequestController.DefaultMethod">
  2974. <summary>
  2975. Specifies the method to use if no action have been specified.
  2976. </summary>
  2977. <exception cref="T:System.ArgumentException">If specified method do not exist.</exception>
  2978. </member>
  2979. <member name="P:HttpServer.Controllers.RequestController.Id">
  2980. <summary>
  2981. Id is the third part of the uri path.
  2982. </summary>
  2983. <remarks>
  2984. <para>Is extracted as in: /controllername/methodname/id/
  2985. </para>
  2986. <para>string.Empty if not specified.</para>
  2987. </remarks>
  2988. <example></example>
  2989. </member>
  2990. <member name="P:HttpServer.Controllers.RequestController.MethodName">
  2991. <summary>
  2992. Method currently being invoked.
  2993. Always in lower case.
  2994. </summary>
  2995. </member>
  2996. <member name="P:HttpServer.Controllers.RequestController.Request">
  2997. <summary>
  2998. Request information (like Url, form, querystring etc)
  2999. </summary>
  3000. </member>
  3001. <member name="P:HttpServer.Controllers.RequestController.RequestedExtension">
  3002. <summary>
  3003. Extension if a filename was specified.
  3004. </summary>
  3005. </member>
  3006. <member name="P:HttpServer.Controllers.RequestController.Response">
  3007. <summary>
  3008. Response information (that is going to be sent back to the browser/client)
  3009. </summary>
  3010. </member>
  3011. <member name="P:HttpServer.Controllers.RequestController.Session">
  3012. <summary>
  3013. Session information, is stored between requests as long as the session cookie is valid.
  3014. </summary>
  3015. </member>
  3016. <member name="T:HttpServer.Controllers.AuthRequiredAttribute">
  3017. <summary>
  3018. Marks methods to let framework know that the method is protected
  3019. </summary>
  3020. <seealso cref="T:HttpServer.Controllers.AuthValidatorAttribute"/>
  3021. <seealso cref="T:HttpServer.Controllers.RequestController"/>
  3022. </member>
  3023. <member name="M:HttpServer.Controllers.AuthRequiredAttribute.#ctor">
  3024. <summary>
  3025. Initializes a new instance of the <see cref="T:HttpServer.Controllers.AuthRequiredAttribute"/> class.
  3026. </summary>
  3027. </member>
  3028. <member name="M:HttpServer.Controllers.AuthRequiredAttribute.#ctor(System.Int32)">
  3029. <summary>
  3030. </summary>
  3031. <param name="level">
  3032. Level is a value defined by you. It should be used to determine the users
  3033. that can access the method tagged with the AuthRequired attribute.
  3034. </param>
  3035. <example>
  3036. <![CDATA[
  3037. public enum UserLevel
  3038. {
  3039. Guest,
  3040. User,
  3041. Admin,
  3042. SuperAdmin
  3043. }
  3044. public class UserController : RequestController
  3045. {
  3046. [AuthRequired(UserLevel.User)]
  3047. public string View()
  3048. {
  3049. return "Can also be viewed by users";
  3050. }
  3051. [AuthValidatorAttribute]
  3052. public bool ValidateUser(int level)
  3053. {
  3054. (User)user = Session["user"];
  3055. return user != null && user.Status >= level;
  3056. }
  3057. }
  3058. ]]>
  3059. </example>
  3060. </member>
  3061. <member name="P:HttpServer.Controllers.AuthRequiredAttribute.Level">
  3062. <summary>
  3063. Level is a value defined by you. It should be used to determine the users
  3064. that can access the method tagged with the AuthRequired attribute.
  3065. </summary>
  3066. </member>
  3067. <member name="T:HttpServer.Sessions.MemorySession">
  3068. <summary>
  3069. A session stored in memory.
  3070. </summary>
  3071. </member>
  3072. <member name="T:HttpServer.Sessions.IHttpSession">
  3073. <summary>
  3074. Interface for sessions
  3075. </summary>
  3076. </member>
  3077. <member name="M:HttpServer.Sessions.IHttpSession.Clear">
  3078. <summary>
  3079. Remove everything from the session
  3080. </summary>
  3081. </member>
  3082. <member name="M:HttpServer.Sessions.IHttpSession.Clear(System.Boolean)">
  3083. <summary>
  3084. Remove everything from the session
  3085. </summary>
  3086. <param name="expires">True if the session is cleared due to expiration</param>
  3087. </member>
  3088. <member name="P:HttpServer.Sessions.IHttpSession.Id">
  3089. <summary>
  3090. Session id
  3091. </summary>
  3092. </member>
  3093. <member name="P:HttpServer.Sessions.IHttpSession.Item(System.String)">
  3094. <summary>
  3095. Should
  3096. </summary>
  3097. <param name="name">Name of the session variable</param>
  3098. <returns>null if it's not set</returns>
  3099. <exception cref="T:System.Runtime.Serialization.SerializationException">If the object cant be serialized.</exception>
  3100. </member>
  3101. <member name="P:HttpServer.Sessions.IHttpSession.Accessed">
  3102. <summary>
  3103. When the session was last accessed.
  3104. This property is touched by the http server each time the
  3105. session is requested.
  3106. </summary>
  3107. </member>
  3108. <member name="P:HttpServer.Sessions.IHttpSession.Count">
  3109. <summary>
  3110. Number of session variables.
  3111. </summary>
  3112. </member>
  3113. <member name="E:HttpServer.Sessions.IHttpSession.BeforeClear">
  3114. <summary>
  3115. Event triggered upon clearing the session
  3116. </summary>
  3117. </member>
  3118. <member name="M:HttpServer.Sessions.MemorySession.#ctor(System.String)">
  3119. <summary>
  3120. </summary>
  3121. <param name="id">A unique id used by the sessions store to identify the session</param>
  3122. </member>
  3123. <member name="M:HttpServer.Sessions.MemorySession.SetId(System.String)">
  3124. <summary>
  3125. Id
  3126. </summary>
  3127. <param name="id"></param>
  3128. </member>
  3129. <member name="M:HttpServer.Sessions.MemorySession.Clear">
  3130. <summary>
  3131. Remove everything from the session
  3132. </summary>
  3133. </member>
  3134. <member name="M:HttpServer.Sessions.MemorySession.Clear(System.Boolean)">
  3135. <summary>
  3136. Clears the specified expire.
  3137. </summary>
  3138. <param name="expires">True if the session is cleared due to expiration</param>
  3139. </member>
  3140. <member name="M:HttpServer.Sessions.MemorySession.Dispose">
  3141. <summary>
  3142. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
  3143. </summary>
  3144. <filterpriority>2</filterpriority>
  3145. </member>
  3146. <member name="P:HttpServer.Sessions.MemorySession.Id">
  3147. <summary>
  3148. Session id
  3149. </summary>
  3150. </member>
  3151. <member name="P:HttpServer.Sessions.MemorySession.Item(System.String)">
  3152. <summary>
  3153. Should
  3154. </summary>
  3155. <param name="name">Name of the session variable</param>
  3156. <returns>null if it's not set</returns>
  3157. </member>
  3158. <member name="P:HttpServer.Sessions.MemorySession.Accessed">
  3159. <summary>
  3160. when the session was last accessed.
  3161. </summary>
  3162. <remarks>
  3163. Used to determine when the session should be removed.
  3164. </remarks>
  3165. </member>
  3166. <member name="P:HttpServer.Sessions.MemorySession.Count">
  3167. <summary>
  3168. Number of values in the session
  3169. </summary>
  3170. </member>
  3171. <member name="P:HttpServer.Sessions.MemorySession.Changed">
  3172. <summary>
  3173. Flag to indicate that the session have been changed
  3174. and should be saved into the session store.
  3175. </summary>
  3176. </member>
  3177. <member name="E:HttpServer.Sessions.MemorySession.BeforeClear">
  3178. <summary>
  3179. Event triggered upon clearing the session
  3180. </summary>
  3181. </member>
  3182. <member name="T:HttpServer.Rendering.Haml.Rules.NewLineRule">
  3183. <summary>
  3184. IRule that says that something :)
  3185. </summary>
  3186. </member>
  3187. <member name="M:HttpServer.Rendering.Haml.Rules.NewLineRule.IsMultiLine(HttpServer.Rendering.Haml.LineInfo,System.Boolean)">
  3188. <summary>
  3189. Determines if this node spans over multiple lines.
  3190. </summary>
  3191. <param name="line">contains line information (and text)</param>
  3192. <param name="isContinued">true if the previous line was continued.</param>
  3193. <returns>true if this line continues onto the next.</returns>
  3194. </member>
  3195. <member name="T:HttpServer.Rendering.Haml.Nodes.TagNode">
  3196. <summary>
  3197. Represents a HTML tag.
  3198. </summary>
  3199. </member>
  3200. <member name="M:HttpServer.Rendering.Haml.Nodes.TagNode.#ctor(HttpServer.Rendering.Haml.Nodes.Node)">
  3201. <summary>
  3202. Create a new HTML tag node.
  3203. </summary>
  3204. <param name="parent">parent node</param>
  3205. </member>
  3206. <member name="M:HttpServer.Rendering.Haml.Nodes.TagNode.CanHandle(System.String,System.Boolean)">
  3207. <summary>
  3208. determines if this node can handle the line (by checking the first word);
  3209. </summary>
  3210. <param name="word">Controller char (word)</param>
  3211. <returns>true if text belongs to this node type</returns>
  3212. <param name="firstNode">first node on line.</param>
  3213. </member>
  3214. <member name="M:HttpServer.Rendering.Haml.Nodes.TagNode.Parse(HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.LineInfo,System.Int32@)">
  3215. <summary>
  3216. Parse node contents add return a fresh node.
  3217. </summary>
  3218. <param name="parent">Node that this is a subnode to. Can be null</param>
  3219. <param name="prototypes">A list with node types</param>
  3220. <param name="line">Line to parse</param>
  3221. <param name="offset">Where to start the parsing. Will be set to where the next node should start parsing</param>
  3222. <returns>A node corresponding to the bla bla; null if parsing failed.</returns>
  3223. <exception cref="T:HttpServer.Rendering.CodeGeneratorException"></exception>
  3224. </member>
  3225. <member name="M:HttpServer.Rendering.Haml.Nodes.TagNode.ToCode(System.Boolean@,System.Boolean,System.Boolean)">
  3226. <summary>
  3227. Convert the node to c# code
  3228. </summary>
  3229. <param name="inString">True if we are inside the internal stringbuilder</param>
  3230. <param name="smallEnough">true if all subnodes fit on one line</param>
  3231. <param name="smallEnoughIsDefaultValue">smallEnough is a default value, recalc it</param>
  3232. <returns>c# code</returns>
  3233. </member>
  3234. <member name="M:HttpServer.Rendering.Haml.Nodes.TagNode.ToHtml">
  3235. <summary>
  3236. Convert node to HTML (with ASP-tags)
  3237. </summary>
  3238. <returns>HTML string</returns>
  3239. </member>
  3240. <member name="P:HttpServer.Rendering.Haml.Nodes.TagNode.IsTextNode">
  3241. <summary>
  3242. This is a plain text node
  3243. </summary>
  3244. </member>
  3245. <member name="P:HttpServer.Rendering.Haml.Nodes.TagNode.Name">
  3246. <summary>
  3247. tag name
  3248. </summary>
  3249. </member>
  3250. <member name="T:HttpServer.Rendering.TemplateException">
  3251. <summary>
  3252. Thrown when a template cannot be compiled.
  3253. </summary>
  3254. </member>
  3255. <member name="M:HttpServer.Rendering.TemplateException.#ctor(System.String,Fadd.CompilerException)">
  3256. <summary>
  3257. Initializes a new instance of the <see cref="T:HttpServer.Rendering.TemplateException"/> class.
  3258. </summary>
  3259. <param name="templateName">Template that failed compilation.</param>
  3260. <param name="err">Exception thrown by the compiler.</param>
  3261. </member>
  3262. <member name="M:HttpServer.Rendering.TemplateException.ToString">
  3263. <summary>
  3264. Creates and returns a string representation of the current exception.
  3265. </summary>
  3266. <returns>
  3267. A string representation of the current exception.
  3268. </returns>
  3269. <PermissionSet>
  3270. <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" PathDiscovery="*AllFiles*"/>
  3271. </PermissionSet>
  3272. </member>
  3273. <member name="P:HttpServer.Rendering.TemplateException.Message">
  3274. <summary>
  3275. Gets a message that describes the current exception.
  3276. </summary>
  3277. <value></value>
  3278. <returns>
  3279. The error message that explains the reason for the exception, or an empty string("").
  3280. </returns>
  3281. </member>
  3282. <member name="T:HttpServer.Method">
  3283. <summary>
  3284. Contains all HTTP Methods (according to the HTTP 1.1 specification)
  3285. <para>
  3286. See: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
  3287. </para>
  3288. </summary>
  3289. </member>
  3290. <member name="F:HttpServer.Method.Delete">
  3291. <summary>
  3292. The DELETE method requests that the origin server delete the resource identified by the Request-URI.
  3293. </summary>
  3294. <remarks>
  3295. <para>
  3296. This method MAY be overridden by human intervention (or other means) on the origin server.
  3297. The client cannot be guaranteed that the operation has been carried out, even if the status code
  3298. returned from the origin server indicates that the action has been completed successfully.
  3299. </para>
  3300. <para>
  3301. However, the server SHOULD NOT indicate success unless, at the time the response is given,
  3302. it intends to delete the resource or move it to an inaccessible location.
  3303. </para>
  3304. <para>
  3305. A successful response SHOULD be 200 (OK) if the response includes an entity describing the status,
  3306. 202 (Accepted) if the action has not yet been enacted,
  3307. or 204 (No Content) if the action has been enacted but the response does not include an entity.
  3308. </para>
  3309. <para>
  3310. If the request passes through a cache and the Request-URI identifies one or more currently cached entities,
  3311. those entries SHOULD be treated as stale. Responses to this method are not cacheable.
  3312. </para>
  3313. </remarks>
  3314. </member>
  3315. <member name="F:HttpServer.Method.Get">
  3316. <summary>
  3317. The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
  3318. </summary>
  3319. <remarks>
  3320. <para>
  3321. If the Request-URI refers to a data-producing process, it is the produced data which shall be returned as the
  3322. entity in the response and not the source text of the process, unless that text happens to be the output of the process.
  3323. </para>
  3324. <para>
  3325. The semantics of the GET method change to a "conditional GET" if the request message includes an
  3326. If-Modified-Since, If-Unmodified-Since, If-Match, If-None-Match, or If-Range header field.
  3327. A conditional GET method requests that the entity be transferred only under the circumstances described
  3328. by the conditional header field(s). The conditional GET method is intended to reduce unnecessary network
  3329. usage by allowing cached entities to be refreshed without requiring multiple requests or transferring
  3330. data already held by the client.
  3331. </para>
  3332. </remarks>
  3333. </member>
  3334. <member name="F:HttpServer.Method.Header">
  3335. <summary>
  3336. The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.
  3337. </summary>
  3338. <remarks>
  3339. The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the
  3340. information sent in response to a GET request. This method can be used for obtaining metainformation about
  3341. the entity implied by the request without transferring the entity-body itself.
  3342. This method is often used for testing hypertext links for validity, accessibility, and recent modification.
  3343. </remarks>
  3344. </member>
  3345. <member name="F:HttpServer.Method.Options">
  3346. <summary>
  3347. <para>The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI.</para>
  3348. </summary>
  3349. <remarks>
  3350. <para>This method allows the client to determine the options and/or requirements associated with a resource, or the capabilities of a server, without implying a resource action or initiating a resource retrieval.</para>
  3351. </remarks>
  3352. </member>
  3353. <member name="F:HttpServer.Method.Post">
  3354. <summary>
  3355. The POST method is used to request that the origin server accept the entity enclosed
  3356. in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line.
  3357. </summary>
  3358. <remarks>
  3359. POST is designed to allow a uniform method to cover the following functions:
  3360. <list type="bullet">
  3361. <item>
  3362. Annotation of existing resources;
  3363. </item><item>
  3364. Posting a message to a bulletin board, newsgroup, mailing list, or similar group of articles;
  3365. </item><item>
  3366. Providing a block of data, such as the result of submitting a form, to a data-handling process;
  3367. </item><item>
  3368. Extending a database through an append operation.
  3369. </item>
  3370. </list>
  3371. <para>
  3372. If a resource has been created on the origin server, the response SHOULD be 201 (Created) and
  3373. contain an entity which describes the status of the request and refers to the new resource, and a
  3374. Location header (see section 14.30).
  3375. </para>
  3376. <para>
  3377. The action performed by the POST method might not result in a resource that can be identified by a URI.
  3378. In this case, either 200 (OK) or 204 (No Content) is the appropriate response status, depending on
  3379. whether or not the response includes an entity that describes the result.
  3380. </para><para>
  3381. Responses to this method are not cacheable, unless the response includes appropriate Cache-Control
  3382. or Expires header fields. However, the 303 (See Other) response can be used to direct the user agent
  3383. to retrieve a cacheable resource.
  3384. </para>
  3385. </remarks>
  3386. </member>
  3387. <member name="F:HttpServer.Method.Put">
  3388. <summary>
  3389. The PUT method requests that the enclosed entity be stored under the supplied Request-URI.
  3390. </summary>
  3391. <remarks>
  3392. <list type="bullet">
  3393. <item>
  3394. If the Request-URI refers to an already existing resource, the enclosed entity SHOULD be considered as a
  3395. modified version of the one residing on the origin server.
  3396. </item><item>
  3397. If the Request-URI does not point to an existing resource, and that URI is capable of being defined as a new
  3398. resource by the requesting user agent, the origin server can create the resource with that URI.
  3399. </item><item>
  3400. If a new resource is created, the origin server MUST inform the user agent via the 201 (Created) response.
  3401. </item><item>
  3402. If an existing resource is modified, either the 200 (OK) or 204 (No Content) response codes SHOULD be sent to
  3403. indicate successful completion of the request.
  3404. </item><item>
  3405. If the resource could not be created or modified with the Request-URI, an appropriate error response SHOULD be
  3406. given that reflects the nature of the problem.
  3407. </item>
  3408. </list>
  3409. <para>
  3410. The recipient of the entity MUST NOT ignore any Content-* (e.g. Content-Range) headers that it does not
  3411. understand or implement and MUST return a 501 (Not Implemented) response in such cases.
  3412. </para>
  3413. </remarks>
  3414. </member>
  3415. <member name="F:HttpServer.Method.Trace">
  3416. <summary>
  3417. The TRACE method is used to invoke a remote, application-layer loop- back of the request message.
  3418. </summary>
  3419. </member>
  3420. <member name="T:HttpServer.Methods">
  3421. <summary>
  3422. Contains all HTTP Methods (according to the HTTP 1.1 specification)
  3423. <para>
  3424. See: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
  3425. </para>
  3426. </summary>
  3427. </member>
  3428. <member name="F:HttpServer.Methods.Delete">
  3429. <summary>
  3430. The DELETE method requests that the origin server delete the resource identified by the Request-URI.
  3431. </summary>
  3432. <remarks>
  3433. <para>
  3434. This method MAY be overridden by human intervention (or other means) on the origin server.
  3435. The client cannot be guaranteed that the operation has been carried out, even if the status code
  3436. returned from the origin server indicates that the action has been completed successfully.
  3437. </para>
  3438. <para>
  3439. However, the server SHOULD NOT indicate success unless, at the time the response is given,
  3440. it intends to delete the resource or move it to an inaccessible location.
  3441. </para>
  3442. <para>
  3443. A successful response SHOULD be 200 (OK) if the response includes an entity describing the status,
  3444. 202 (Accepted) if the action has not yet been enacted,
  3445. or 204 (No Content) if the action has been enacted but the response does not include an entity.
  3446. </para>
  3447. <para>
  3448. If the request passes through a cache and the Request-URI identifies one or more currently cached entities,
  3449. those entries SHOULD be treated as stale. Responses to this method are not cacheable.
  3450. </para>
  3451. </remarks>
  3452. </member>
  3453. <member name="F:HttpServer.Methods.Get">
  3454. <summary>
  3455. The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
  3456. </summary>
  3457. <remarks>
  3458. <para>
  3459. If the Request-URI refers to a data-producing process, it is the produced data which shall be returned as the
  3460. entity in the response and not the source text of the process, unless that text happens to be the output of the process.
  3461. </para>
  3462. <para>
  3463. The semantics of the GET method change to a "conditional GET" if the request message includes an
  3464. If-Modified-Since, If-Unmodified-Since, If-Match, If-None-Match, or If-Range header field.
  3465. A conditional GET method requests that the entity be transferred only under the circumstances described
  3466. by the conditional header field(s). The conditional GET method is intended to reduce unnecessary network
  3467. usage by allowing cached entities to be refreshed without requiring multiple requests or transferring
  3468. data already held by the client.
  3469. </para>
  3470. </remarks>
  3471. </member>
  3472. <member name="F:HttpServer.Methods.Header">
  3473. <summary>
  3474. The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.
  3475. </summary>
  3476. <remarks>
  3477. The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the
  3478. information sent in response to a GET request. This method can be used for obtaining metainformation about
  3479. the entity implied by the request without transferring the entity-body itself.
  3480. This method is often used for testing hypertext links for validity, accessibility, and recent modification.
  3481. </remarks>
  3482. </member>
  3483. <member name="F:HttpServer.Methods.Options">
  3484. <summary>
  3485. <para>The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI.</para>
  3486. </summary>
  3487. <remarks>
  3488. <para>This method allows the client to determine the options and/or requirements associated with a resource, or the capabilities of a server, without implying a resource action or initiating a resource retrieval.</para>
  3489. </remarks>
  3490. </member>
  3491. <member name="F:HttpServer.Methods.Post">
  3492. <summary>
  3493. The POST method is used to request that the origin server accept the entity enclosed
  3494. in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line.
  3495. </summary>
  3496. <remarks>
  3497. POST is designed to allow a uniform method to cover the following functions:
  3498. <list type="bullet">
  3499. <item>
  3500. Annotation of existing resources;
  3501. </item><item>
  3502. Posting a message to a bulletin board, newsgroup, mailing list, or similar group of articles;
  3503. </item><item>
  3504. Providing a block of data, such as the result of submitting a form, to a data-handling process;
  3505. </item><item>
  3506. Extending a database through an append operation.
  3507. </item>
  3508. </list>
  3509. <para>
  3510. If a resource has been created on the origin server, the response SHOULD be 201 (Created) and
  3511. contain an entity which describes the status of the request and refers to the new resource, and a
  3512. Location header (see section 14.30).
  3513. </para>
  3514. <para>
  3515. The action performed by the POST method might not result in a resource that can be identified by a URI.
  3516. In this case, either 200 (OK) or 204 (No Content) is the appropriate response status, depending on
  3517. whether or not the response includes an entity that describes the result.
  3518. </para><para>
  3519. Responses to this method are not cacheable, unless the response includes appropriate Cache-Control
  3520. or Expires header fields. However, the 303 (See Other) response can be used to direct the user agent
  3521. to retrieve a cacheable resource.
  3522. </para>
  3523. </remarks>
  3524. </member>
  3525. <member name="F:HttpServer.Methods.Put">
  3526. <summary>
  3527. The PUT method requests that the enclosed entity be stored under the supplied Request-URI.
  3528. </summary>
  3529. <remarks>
  3530. <list type="bullet">
  3531. <item>
  3532. If the Request-URI refers to an already existing resource, the enclosed entity SHOULD be considered as a
  3533. modified version of the one residing on the origin server.
  3534. </item><item>
  3535. If the Request-URI does not point to an existing resource, and that URI is capable of being defined as a new
  3536. resource by the requesting user agent, the origin server can create the resource with that URI.
  3537. </item><item>
  3538. If a new resource is created, the origin server MUST inform the user agent via the 201 (Created) response.
  3539. </item><item>
  3540. If an existing resource is modified, either the 200 (OK) or 204 (No Content) response codes SHOULD be sent to
  3541. indicate successful completion of the request.
  3542. </item><item>
  3543. If the resource could not be created or modified with the Request-URI, an appropriate error response SHOULD be
  3544. given that reflects the nature of the problem.
  3545. </item>
  3546. </list>
  3547. <para>
  3548. The recipient of the entity MUST NOT ignore any Content-* (e.g. Content-Range) headers that it does not
  3549. understand or implement and MUST return a 501 (Not Implemented) response in such cases.
  3550. </para>
  3551. </remarks>
  3552. </member>
  3553. <member name="F:HttpServer.Methods.Trace">
  3554. <summary>
  3555. The TRACE method is used to invoke a remote, application-layer loop- back of the request message.
  3556. </summary>
  3557. </member>
  3558. <member name="T:HttpServer.IHttpRequest">
  3559. <summary>
  3560. Contains serverside http request information.
  3561. </summary>
  3562. </member>
  3563. <member name="M:HttpServer.IHttpRequest.DecodeBody(HttpServer.FormDecoders.FormDecoderProvider)">
  3564. <summary>
  3565. Decode body into a form.
  3566. </summary>
  3567. <param name="providers">A list with form decoders.</param>
  3568. <exception cref="T:System.IO.InvalidDataException">If body contents is not valid for the chosen decoder.</exception>
  3569. <exception cref="T:System.InvalidOperationException">If body is still being transferred.</exception>
  3570. </member>
  3571. <member name="M:HttpServer.IHttpRequest.SetCookies(HttpServer.RequestCookies)">
  3572. <summary>
  3573. Sets the cookies.
  3574. </summary>
  3575. <param name="cookies">The cookies.</param>
  3576. </member>
  3577. <member name="M:HttpServer.IHttpRequest.AddHeader(System.String,System.String)">
  3578. <summary>
  3579. Called during parsing of a IHttpRequest.
  3580. </summary>
  3581. <param name="name">Name of the header, should not be url encoded</param>
  3582. <param name="value">Value of the header, should not be url encoded</param>
  3583. <exception cref="T:HttpServer.Exceptions.BadRequestException">If a header is incorrect.</exception>
  3584. </member>
  3585. <member name="M:HttpServer.IHttpRequest.AddToBody(System.Byte[],System.Int32,System.Int32)">
  3586. <summary>
  3587. Add bytes to the body
  3588. </summary>
  3589. <param name="bytes">buffer to read bytes from</param>
  3590. <param name="offset">where to start read</param>
  3591. <param name="length">number of bytes to read</param>
  3592. <returns>Number of bytes actually read (same as length unless we got all body bytes).</returns>
  3593. <exception cref="T:System.ArgumentException"></exception>
  3594. <exception cref="T:System.InvalidOperationException">If body is not writable</exception>
  3595. </member>
  3596. <member name="M:HttpServer.IHttpRequest.Clear">
  3597. <summary>
  3598. Clear everything in the request
  3599. </summary>
  3600. </member>
  3601. <member name="P:HttpServer.IHttpRequest.BodyIsComplete">
  3602. <summary>
  3603. Have all body content bytes been received?
  3604. </summary>
  3605. </member>
  3606. <member name="P:HttpServer.IHttpRequest.AcceptTypes">
  3607. <summary>
  3608. Kind of types accepted by the client.
  3609. </summary>
  3610. </member>
  3611. <member name="P:HttpServer.IHttpRequest.Body">
  3612. <summary>
  3613. Submitted body contents
  3614. </summary>
  3615. </member>
  3616. <member name="P:HttpServer.IHttpRequest.Connection">
  3617. <summary>
  3618. Kind of connection used for the session.
  3619. </summary>
  3620. </member>
  3621. <member name="P:HttpServer.IHttpRequest.ContentLength">
  3622. <summary>
  3623. Number of bytes in the body
  3624. </summary>
  3625. </member>
  3626. <member name="P:HttpServer.IHttpRequest.Headers">
  3627. <summary>
  3628. Headers sent by the client. All names are in lower case.
  3629. </summary>
  3630. </member>
  3631. <member name="P:HttpServer.IHttpRequest.HttpVersion">
  3632. <summary>
  3633. Version of http.
  3634. Probably HttpHelper.HTTP10 or HttpHelper.HTTP11
  3635. </summary>
  3636. <seealso cref="T:HttpServer.HttpHelper"/>
  3637. </member>
  3638. <member name="P:HttpServer.IHttpRequest.Method">
  3639. <summary>
  3640. Requested method, always upper case.
  3641. </summary>
  3642. <see cref="P:HttpServer.IHttpRequest.Method"/>
  3643. </member>
  3644. <member name="P:HttpServer.IHttpRequest.QueryString">
  3645. <summary>
  3646. Variables sent in the query string
  3647. </summary>
  3648. </member>
  3649. <member name="P:HttpServer.IHttpRequest.Uri">
  3650. <summary>
  3651. Requested URI (url)
  3652. </summary>
  3653. </member>
  3654. <member name="P:HttpServer.IHttpRequest.UriParts">
  3655. <summary>
  3656. Uri absolute path splitted into parts.
  3657. </summary>
  3658. <example>
  3659. // uri is: http://gauffin.com/code/tiny/
  3660. Console.WriteLine(request.UriParts[0]); // result: code
  3661. Console.WriteLine(request.UriParts[1]); // result: tiny
  3662. </example>
  3663. <remarks>
  3664. If you're using controllers than the first part is controller name,
  3665. the second part is method name and the third part is Id property.
  3666. </remarks>
  3667. <seealso cref="P:HttpServer.IHttpRequest.Uri"/>
  3668. </member>
  3669. <member name="P:HttpServer.IHttpRequest.Param">
  3670. <summary>
  3671. Check's both QueryString and Form after the parameter.
  3672. </summary>
  3673. </member>
  3674. <member name="P:HttpServer.IHttpRequest.Form">
  3675. <summary>
  3676. Form parameters.
  3677. </summary>
  3678. </member>
  3679. <member name="P:HttpServer.IHttpRequest.IsAjax">
  3680. <summary>Returns true if the request was made by Ajax (Asyncronous Javascript)</summary>
  3681. </member>
  3682. <member name="P:HttpServer.IHttpRequest.Cookies">
  3683. <summary>Returns set cookies for the request</summary>
  3684. </member>
  3685. <member name="T:HttpServer.HttpRequestParser">
  3686. <summary>
  3687. Parses a HTTP request directly from a stream
  3688. </summary>
  3689. </member>
  3690. <member name="M:HttpServer.HttpRequestParser.#ctor(HttpServer.HttpRequestParser.RequestCompletedHandler,HttpServer.ILogWriter)">
  3691. <summary>
  3692. Create a new request parser
  3693. </summary>
  3694. <param name="requestCompleted">delegate called when a complete request have been generated</param>
  3695. <param name="logWriter">delegate receiving log entries.</param>
  3696. </member>
  3697. <member name="M:HttpServer.HttpRequestParser.AddToBody(System.Byte[],System.Int32,System.Int32)">
  3698. <summary>
  3699. Add a number of bytes to the body
  3700. </summary>
  3701. <param name="buffer"></param>
  3702. <param name="offset"></param>
  3703. <param name="count"></param>
  3704. <returns></returns>
  3705. </member>
  3706. <member name="M:HttpServer.HttpRequestParser.Clear">
  3707. <summary>
  3708. Remove all state information for the request.
  3709. </summary>
  3710. </member>
  3711. <member name="M:HttpServer.HttpRequestParser.OnFirstLine(System.String)">
  3712. <summary>
  3713. Parse request line
  3714. </summary>
  3715. <param name="value"></param>
  3716. <exception cref="T:HttpServer.Exceptions.BadRequestException">If line is incorrect</exception>
  3717. <remarks>Expects the following format: "Method SP Request-URI SP HTTP-Version CRLF"</remarks>
  3718. </member>
  3719. <member name="M:HttpServer.HttpRequestParser.OnHeader(System.String,System.String)">
  3720. <summary>
  3721. We've parsed a new header.
  3722. </summary>
  3723. <param name="name">Name in lower case</param>
  3724. <param name="value">Value, unmodified.</param>
  3725. <exception cref="T:HttpServer.Exceptions.BadRequestException">If content length cannot be parsed.</exception>
  3726. </member>
  3727. <member name="M:HttpServer.HttpRequestParser.ParseMessage(System.Byte[],System.Int32,System.Int32)">
  3728. <summary>
  3729. Parse a message
  3730. </summary>
  3731. <param name="buffer"></param>
  3732. <param name="offset">where in buffer that parsing should start</param>
  3733. <param name="size">number of bytes to parse</param>
  3734. <returns>Unparsed bytes left in buffer.</returns>
  3735. </member>
  3736. <member name="P:HttpServer.HttpRequestParser.CurrentState">
  3737. <summary>
  3738. Current state in parser.
  3739. </summary>
  3740. </member>
  3741. <member name="T:HttpServer.HttpRequestParser.RequestCompletedHandler">
  3742. <summary>
  3743. Invoked when a request have been completed.
  3744. </summary>
  3745. <param name="request"></param>
  3746. </member>
  3747. <member name="T:HttpServer.HttpRequestParser.State">
  3748. <summary>
  3749. Current state in the parsing.
  3750. </summary>
  3751. </member>
  3752. <member name="F:HttpServer.HttpRequestParser.State.FirstLine">
  3753. <summary>
  3754. Should parse the request line
  3755. </summary>
  3756. </member>
  3757. <member name="F:HttpServer.HttpRequestParser.State.HeaderName">
  3758. <summary>
  3759. Searching for a complete header name
  3760. </summary>
  3761. </member>
  3762. <member name="F:HttpServer.HttpRequestParser.State.AfterName">
  3763. <summary>
  3764. Searching for colon after header name (ignoring white spaces)
  3765. </summary>
  3766. </member>
  3767. <member name="F:HttpServer.HttpRequestParser.State.Between">
  3768. <summary>
  3769. Searching for start of header value (ignoring white spaces)
  3770. </summary>
  3771. </member>
  3772. <member name="F:HttpServer.HttpRequestParser.State.HeaderValue">
  3773. <summary>
  3774. Searching for a complete header value (can span over multiple lines, as long as they are prefixed with one/more whitespaces)
  3775. </summary>
  3776. </member>
  3777. <member name="F:HttpServer.HttpRequestParser.State.Body">
  3778. <summary>
  3779. Adding bytes to body
  3780. </summary>
  3781. </member>
  3782. <member name="T:HttpServer.HttpRequest">
  3783. <summary>
  3784. Contains serverside http request information.
  3785. </summary>
  3786. </member>
  3787. <member name="F:HttpServer.HttpRequest.UriSplitters">
  3788. <summary>
  3789. Chars used to split an url path into multiple parts.
  3790. </summary>
  3791. </member>
  3792. <member name="M:HttpServer.HttpRequest.AssignForm(HttpServer.HttpForm)">
  3793. <summary>
  3794. Assign a form.
  3795. </summary>
  3796. <param name="form"></param>
  3797. </member>
  3798. <member name="M:HttpServer.HttpRequest.Clone">
  3799. <summary>
  3800. Creates a new object that is a copy of the current instance.
  3801. </summary>
  3802. <returns>
  3803. A new object that is a copy of this instance.
  3804. </returns>
  3805. <filterpriority>2</filterpriority>
  3806. </member>
  3807. <member name="M:HttpServer.HttpRequest.DecodeBody(HttpServer.FormDecoders.FormDecoderProvider)">
  3808. <summary>
  3809. Decode body into a form.
  3810. </summary>
  3811. <param name="providers">A list with form decoders.</param>
  3812. <exception cref="T:System.IO.InvalidDataException">If body contents is not valid for the chosen decoder.</exception>
  3813. <exception cref="T:System.InvalidOperationException">If body is still being transferred.</exception>
  3814. </member>
  3815. <member name="M:HttpServer.HttpRequest.SetCookies(HttpServer.RequestCookies)">
  3816. <summary>
  3817. Cookies
  3818. </summary>
  3819. <param name="cookies">the cookies</param>
  3820. </member>
  3821. <member name="M:HttpServer.HttpRequest.AddHeader(System.String,System.String)">
  3822. <summary>
  3823. Called during parsing of a IHttpRequest.
  3824. </summary>
  3825. <param name="name">Name of the header, should not be url encoded</param>
  3826. <param name="value">Value of the header, should not be url encoded</param>
  3827. <exception cref="T:HttpServer.Exceptions.BadRequestException">If a header is incorrect.</exception>
  3828. </member>
  3829. <member name="M:HttpServer.HttpRequest.AddToBody(System.Byte[],System.Int32,System.Int32)">
  3830. <summary>
  3831. Add bytes to the body
  3832. </summary>
  3833. <param name="bytes">buffer to read bytes from</param>
  3834. <param name="offset">where to start read</param>
  3835. <param name="length">number of bytes to read</param>
  3836. <returns>Number of bytes actually read (same as length unless we got all body bytes).</returns>
  3837. <exception cref="T:System.ArgumentException"></exception>
  3838. <exception cref="T:System.InvalidOperationException">If body is not writable</exception>
  3839. </member>
  3840. <member name="M:HttpServer.HttpRequest.Clear">
  3841. <summary>
  3842. Clear everything in the request
  3843. </summary>
  3844. </member>
  3845. <member name="P:HttpServer.HttpRequest.BodyIsComplete">
  3846. <summary>
  3847. Have all body content bytes been received?
  3848. </summary>
  3849. </member>
  3850. <member name="P:HttpServer.HttpRequest.AcceptTypes">
  3851. <summary>
  3852. Kind of types accepted by the client.
  3853. </summary>
  3854. </member>
  3855. <member name="P:HttpServer.HttpRequest.Body">
  3856. <summary>
  3857. Submitted body contents
  3858. </summary>
  3859. </member>
  3860. <member name="P:HttpServer.HttpRequest.Connection">
  3861. <summary>
  3862. Kind of connection used for the session.
  3863. </summary>
  3864. </member>
  3865. <member name="P:HttpServer.HttpRequest.ContentLength">
  3866. <summary>
  3867. Number of bytes in the body
  3868. </summary>
  3869. </member>
  3870. <member name="P:HttpServer.HttpRequest.Headers">
  3871. <summary>
  3872. Headers sent by the client. All names are in lower case.
  3873. </summary>
  3874. </member>
  3875. <member name="P:HttpServer.HttpRequest.HttpVersion">
  3876. <summary>
  3877. Version of http.
  3878. Probably HttpHelper.HTTP10 or HttpHelper.HTTP11
  3879. </summary>
  3880. <seealso cref="T:HttpServer.HttpHelper"/>
  3881. </member>
  3882. <member name="P:HttpServer.HttpRequest.Method">
  3883. <summary>
  3884. Requested method, always upper case.
  3885. </summary>
  3886. <see cref="P:HttpServer.HttpRequest.Method"/>
  3887. </member>
  3888. <member name="P:HttpServer.HttpRequest.QueryString">
  3889. <summary>
  3890. Variables sent in the query string
  3891. </summary>
  3892. </member>
  3893. <member name="P:HttpServer.HttpRequest.Uri">
  3894. <summary>
  3895. Requested URI (url)
  3896. </summary>
  3897. <seealso cref="P:HttpServer.HttpRequest.UriPath"/>
  3898. </member>
  3899. <member name="P:HttpServer.HttpRequest.UriParts">
  3900. <summary>
  3901. Uri absolute path splitted into parts.
  3902. </summary>
  3903. <example>
  3904. // uri is: http://gauffin.com/code/tiny/
  3905. Console.WriteLine(request.UriParts[0]); // result: code
  3906. Console.WriteLine(request.UriParts[1]); // result: tiny
  3907. </example>
  3908. <remarks>
  3909. If you're using controllers than the first part is controller name,
  3910. the second part is method name and the third part is Id property.
  3911. </remarks>
  3912. <seealso cref="P:HttpServer.HttpRequest.Uri"/>
  3913. </member>
  3914. <member name="P:HttpServer.HttpRequest.UriPath">
  3915. <summary>
  3916. Path and query (will be merged with the host header) and put in Uri
  3917. </summary>
  3918. <see cref="P:HttpServer.HttpRequest.Uri"/>
  3919. </member>
  3920. <member name="P:HttpServer.HttpRequest.Param">
  3921. <summary>
  3922. Check's both QueryString and Form after the parameter.
  3923. </summary>
  3924. </member>
  3925. <member name="P:HttpServer.HttpRequest.Form">
  3926. <summary>
  3927. Form parameters.
  3928. </summary>
  3929. </member>
  3930. <member name="P:HttpServer.HttpRequest.IsAjax">
  3931. <summary>Returns true if the request was made by Ajax (Asyncronous Javascript)</summary>
  3932. </member>
  3933. <member name="P:HttpServer.HttpRequest.Cookies">
  3934. <summary>Returns set cookies for the request</summary>
  3935. </member>
  3936. <member name="P:HttpServer.HttpRequest.Secure">
  3937. <summary>
  3938. Current request is sent over secure protocol
  3939. </summary>
  3940. </member>
  3941. <member name="T:HttpServer.HttpModules.WebSiteModule">
  3942. <summary>
  3943. The website module let's you handle multiple websites in the same server.
  3944. It uses the "Host" header to check which site you want.
  3945. </summary>
  3946. <remarks>It's recommended that you do not
  3947. add any other modules to HttpServer if you are using the website module. Instead,
  3948. add all wanted modules to each website.</remarks>
  3949. </member>
  3950. <member name="M:HttpServer.HttpModules.WebSiteModule.#ctor(System.String,System.String)">
  3951. <summary>
  3952. </summary>
  3953. <param name="host">domain name that should be handled.</param>
  3954. <param name="name"></param>
  3955. </member>
  3956. <member name="M:HttpServer.HttpModules.WebSiteModule.Process(HttpServer.IHttpRequest,HttpServer.IHttpResponse,HttpServer.Sessions.IHttpSession)">
  3957. <summary>
  3958. Method that process the url
  3959. </summary>
  3960. <param name="request">Information sent by the browser about the request</param>
  3961. <param name="response">Information that is being sent back to the client.</param>
  3962. <param name="session">Session used to </param>
  3963. </member>
  3964. <member name="P:HttpServer.HttpModules.WebSiteModule.SiteName">
  3965. <summary>
  3966. Name of site.
  3967. </summary>
  3968. </member>
  3969. <member name="T:HttpServer.Helpers.FormHelper">
  3970. <summary>
  3971. Helpers making it easier to work with forms.
  3972. </summary>
  3973. <seealso cref="T:HttpServer.Helpers.ObjectForm"/>
  3974. </member>
  3975. <member name="F:HttpServer.Helpers.FormHelper.JSImplementation">
  3976. <summary>
  3977. Used to let the website use different javascript libraries.
  3978. Default is <see cref="T:HttpServer.Helpers.Implementations.PrototypeImp"/>
  3979. </summary>
  3980. </member>
  3981. <member name="M:HttpServer.Helpers.FormHelper.Start(System.String,System.String,System.Boolean,System.String[])">
  3982. <summary>
  3983. Create a &lt;form&gt; tag.
  3984. </summary>
  3985. <param name="name">name of form</param>
  3986. <param name="action">action to invoke on submit</param>
  3987. <param name="isAjax">form should be posted as ajax</param>
  3988. <returns>html code</returns>
  3989. <example>
  3990. <code>
  3991. // without options
  3992. WebHelper.FormStart("frmLogin", "/user/login", Request.IsAjax);
  3993. // with options
  3994. WebHelper.FormStart("frmLogin", "/user/login", Request.IsAjax, "style", "display:inline", "class", "greenForm");
  3995. </code>
  3996. </example>
  3997. <param name="options">html attributes or javscript options.</param>
  3998. <remarks>Method will ALWAYS be POST.</remarks>
  3999. </member>
  4000. <member name="M:HttpServer.Helpers.FormHelper.Select(System.String,System.Collections.IEnumerable,HttpServer.Helpers.GetIdTitle,System.Object,System.Boolean)">
  4001. <summary>
  4002. Creates a select list with the values in a collection.
  4003. </summary>
  4004. <param name="name">Name of the SELECT-tag</param>
  4005. <param name="collection">collection used to generate options.</param>
  4006. <param name="getIdTitle">delegate used to return id and title from objects.</param>
  4007. <param name="selectedValue">value that should be marked as selected.</param>
  4008. <param name="firstEmpty">First row should contain an empty value.</param>
  4009. <returns>string containtain a SELECT-tag.</returns>
  4010. <seealso cref="T:HttpServer.Helpers.GetIdTitle"/>
  4011. </member>
  4012. <member name="M:HttpServer.Helpers.FormHelper.Select(System.String,System.String,System.Collections.IEnumerable,HttpServer.Helpers.GetIdTitle,System.Object,System.Boolean)">
  4013. <summary>
  4014. Creates a select list with the values in a collection.
  4015. </summary>
  4016. <param name="name">Name of the SELECT-tag</param>
  4017. <param name="id">Id of the SELECT-tag</param>
  4018. <param name="collection">collection used to generate options.</param>
  4019. <param name="getIdTitle">delegate used to return id and title from objects.</param>
  4020. <param name="selectedValue">value that should be marked as selected.</param>
  4021. <param name="firstEmpty">First row should contain an empty value.</param>
  4022. <returns>string containtain a SELECT-tag.</returns>
  4023. <seealso cref="T:HttpServer.Helpers.GetIdTitle"/>
  4024. <example>
  4025. <code>
  4026. // Class that is going to be used in a SELECT-tag.
  4027. public class User
  4028. {
  4029. private readonly string _realName;
  4030. private readonly int _id;
  4031. public User(int id, string realName)
  4032. {
  4033. _id = id;
  4034. _realName = realName;
  4035. }
  4036. public string RealName
  4037. {
  4038. get { return _realName; }
  4039. }
  4040. public int Id
  4041. {
  4042. get { return _id; }
  4043. }
  4044. }
  4045. // Using an inline delegate to generate the select list
  4046. public void UserInlineDelegate()
  4047. {
  4048. List&lt;User&gt; items = new List&lt;User&gt;();
  4049. items.Add(new User(1, "adam"));
  4050. items.Add(new User(2, "bertial"));
  4051. items.Add(new User(3, "david"));
  4052. string htmlSelect = Select("users", "users", items, delegate(object o, out object id, out object value)
  4053. {
  4054. User user = (User)o;
  4055. id = user.Id;
  4056. value = user.RealName;
  4057. }, 2, true);
  4058. }
  4059. // Using an method as delegate to generate the select list.
  4060. public void UseExternalDelegate()
  4061. {
  4062. List&lt;User&gt; items = new List&lt;User&gt;();
  4063. items.Add(new User(1, "adam"));
  4064. items.Add(new User(2, "bertial"));
  4065. items.Add(new User(3, "david"));
  4066. string htmlSelect = Select("users", "users", items, UserOptions, 1, true);
  4067. }
  4068. // delegate returning id and title
  4069. public static void UserOptions(object o, out object id, out object title)
  4070. {
  4071. User user = (User)o;
  4072. id = user.Id;
  4073. value = user.RealName;
  4074. }
  4075. </code>
  4076. </example>
  4077. </member>
  4078. <member name="M:HttpServer.Helpers.FormHelper.Select(System.String,System.String,System.Collections.IEnumerable,HttpServer.Helpers.GetIdTitle,System.Object,System.Boolean,System.String[])">
  4079. <summary>
  4080. Creates a select list with the values in a collection.
  4081. </summary>
  4082. <param name="name">Name of the SELECT-tag</param>
  4083. <param name="id">Id of the SELECT-tag</param>
  4084. <param name="collection">collection used to generate options.</param>
  4085. <param name="getIdTitle">delegate used to return id and title from objects.</param>
  4086. <param name="selectedValue">value that should be marked as selected.</param>
  4087. <param name="firstEmpty">First row should contain an empty value.</param>
  4088. <param name="htmlAttributes">name, value collection of extra html attributes.</param>
  4089. <returns>string containtain a SELECT-tag.</returns>
  4090. <seealso cref="T:HttpServer.Helpers.GetIdTitle"/>
  4091. </member>
  4092. <member name="M:HttpServer.Helpers.FormHelper.Options(System.Collections.IEnumerable,HttpServer.Helpers.GetIdTitle,System.Object,System.Boolean)">
  4093. <summary>
  4094. Generate a list of HTML options
  4095. </summary>
  4096. <param name="collection">collection used to generate options.</param>
  4097. <param name="getIdTitle">delegate used to return id and title from objects.</param>
  4098. <param name="selectedValue">value that should be marked as selected.</param>
  4099. <param name="firstEmpty">First row should contain an empty value.</param>
  4100. <returns></returns>
  4101. </member>
  4102. <member name="M:HttpServer.Helpers.FormHelper.CheckBox(System.String,System.Object,System.Object,System.String[])">
  4103. <summary>
  4104. Creates a checkbox.
  4105. </summary>
  4106. <param name="name">element name</param>
  4107. <param name="value">element value</param>
  4108. <param name="isChecked">determines if the check box is selected or not. This is done diffrently depending on the
  4109. type of variable. A bool simply trigges checked or not, all other types are compared with "value" to determine if
  4110. the box is checked or not. </param>
  4111. <param name="htmlAttributes">a list with additional attributes (name, value, name, value).</param>
  4112. <returns>a generated radio button</returns>
  4113. </member>
  4114. <member name="M:HttpServer.Helpers.FormHelper.CheckBox(System.String,System.String,System.Object,System.Object,System.String[])">
  4115. <summary>
  4116. Creates a checkbox.
  4117. </summary>
  4118. <param name="name">element name</param>
  4119. <param name="id">element id</param>
  4120. <param name="value">element value</param>
  4121. <param name="isChecked">determines if the check box is selected or not. This is done diffrently depending on the
  4122. type of variable. A bool simply trigges checked or not, all other types are compared with "value" to determine if
  4123. the box is checked or not. </param>
  4124. <param name="htmlAttributes">a list with additional attributes (name, value, name, value).</param>
  4125. <returns>a generated radio button</returns>
  4126. <remarks>
  4127. value in your business object. (check box will be selected if it matches the element value)
  4128. </remarks>
  4129. </member>
  4130. <member name="M:HttpServer.Helpers.FormHelper.CheckBox(System.String,System.String,System.Object,System.String[])">
  4131. <summary>
  4132. Creates a checkbox.
  4133. </summary>
  4134. <param name="name">element name</param>
  4135. <param name="id">element id</param>
  4136. <param name="isChecked">determines if the check box is selected or not. This is done diffrently depending on the
  4137. type of variable. A bool simply trigges checked or not, all other types are compared with "value" to determine if
  4138. the box is checked or not. </param>
  4139. <param name="htmlAttributes">a list with additional attributes (name, value, name, value).</param>
  4140. <returns>a generated radio button</returns>
  4141. <remarks>will set value to "1".</remarks>
  4142. </member>
  4143. <member name="M:HttpServer.Helpers.FormHelper.RadioButton(System.String,System.Object,System.Object,System.String[])">
  4144. <summary>
  4145. Creates a RadioButton.
  4146. </summary>
  4147. <param name="name">element name</param>
  4148. <param name="value">element value</param>
  4149. <param name="isSelected">determines if the radio button is selected or not. This is done diffrently depending on the
  4150. type of variable. A bool simply trigges checked or not, all other types are compared with "value" to determine if
  4151. the box is checked or not. </param>
  4152. <param name="htmlAttributes">a list with additional attributes (name, value, name, value).</param>
  4153. <returns>a generated radio button</returns>
  4154. </member>
  4155. <member name="M:HttpServer.Helpers.FormHelper.RadioButton(System.String,System.String,System.Object,System.Object,System.String[])">
  4156. <summary>
  4157. Creates a RadioButton.
  4158. </summary>
  4159. <param name="name">element name</param>
  4160. <param name="id">element id</param>
  4161. <param name="value">element value</param>
  4162. <param name="isSelected">determines if the radio button is selected or not. This is done diffrently depending on the
  4163. type of variable. A bool simply trigges checked or not, all other types are compared with "value" to determine if
  4164. the box is checked or not. </param>
  4165. <param name="htmlAttributes">a list with additional attributes (name, value, name, value).</param>
  4166. <returns>a generated radio button</returns>
  4167. </member>
  4168. <member name="M:HttpServer.Helpers.FormHelper.End">
  4169. <summary>
  4170. form close tag
  4171. </summary>
  4172. <returns></returns>
  4173. </member>
  4174. <member name="T:HttpServer.Exceptions.BadRequestException">
  4175. <summary>
  4176. The request could not be understood by the server due to malformed syntax.
  4177. The client SHOULD NOT repeat the request without modifications.
  4178. Text taken from: http://www.submissionchamber.com/help-guides/error-codes.php
  4179. </summary>
  4180. </member>
  4181. <member name="M:HttpServer.Exceptions.BadRequestException.#ctor(System.String)">
  4182. <summary>
  4183. Create a new bad request exception.
  4184. </summary>
  4185. <param name="errMsg">reason to why the request was bad.</param>
  4186. </member>
  4187. <member name="M:HttpServer.Exceptions.BadRequestException.#ctor(System.String,System.Exception)">
  4188. <summary>
  4189. Create a new bad request exception.
  4190. </summary>
  4191. <param name="errMsg">reason to why the request was bad.</param>
  4192. <param name="inner">inner exception</param>
  4193. </member>
  4194. <member name="T:HttpServer.Authentication.DigestAuthentication">
  4195. <summary>
  4196. Implements HTTP Digest authentication. It's more secure than Basic auth since password is
  4197. encrypted with a "key" from the server.
  4198. </summary>
  4199. <remarks>
  4200. Keep in mind that the password is encrypted with MD5. Use a combination of SSL and digest auth to be secure.
  4201. </remarks>
  4202. </member>
  4203. <member name="M:HttpServer.Authentication.DigestAuthentication.#ctor(HttpServer.Authentication.AuthenticationHandler,HttpServer.Authentication.AuthRequiredDelegate)">
  4204. <summary>
  4205. Initializes a new instance of the <see cref="T:HttpServer.Authentication.DigestAuthentication"/> class.
  4206. </summary>
  4207. <param name="authenticator">Delegate used to provide information used during authentication.</param>
  4208. <param name="authRequiredDelegate">Delegate used to determine if authentication is required (may be null).</param>
  4209. </member>
  4210. <member name="M:HttpServer.Authentication.DigestAuthentication.#ctor(HttpServer.Authentication.AuthenticationHandler)">
  4211. <summary>
  4212. Initializes a new instance of the <see cref="T:HttpServer.Authentication.DigestAuthentication"/> class.
  4213. </summary>
  4214. <param name="authenticator">Delegate used to provide information used during authentication.</param>
  4215. </member>
  4216. <member name="F:HttpServer.Authentication.DigestAuthentication.DisableNonceCheck">
  4217. <summary>
  4218. Used by test classes to be able to use hardcoded values
  4219. </summary>
  4220. </member>
  4221. <member name="M:HttpServer.Authentication.DigestAuthentication.Authenticate(System.String,System.String,System.String,System.Object[])">
  4222. <summary>
  4223. An authentication response have been received from the web browser.
  4224. Check if it's correct
  4225. </summary>
  4226. <param name="authenticationHeader">Contents from the Authorization header</param>
  4227. <param name="realm">Realm that should be authenticated</param>
  4228. <param name="httpVerb">GET/POST/PUT/DELETE etc.</param>
  4229. <param name="options">First option: true if username/password is correct but not cnonce</param>
  4230. <returns>
  4231. Authentication object that is stored for the request. A user class or something like that.
  4232. </returns>
  4233. <exception cref="T:System.ArgumentException">if authenticationHeader is invalid</exception>
  4234. <exception cref="T:System.ArgumentNullException">If any of the paramters is empty or null.</exception>
  4235. </member>
  4236. <member name="M:HttpServer.Authentication.DigestAuthentication.Encrypt(System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String,System.String)">
  4237. <summary>
  4238. Encrypts parameters into a Digest string
  4239. </summary>
  4240. <param name="realm">Realm that the user want's to log into.</param>
  4241. <param name="userName">User logging in</param>
  4242. <param name="password">Users password.</param>
  4243. <param name="method">HTTP metod.</param>
  4244. <param name="uri">Uri/domain that generated the login prompt.</param>
  4245. <param name="qop">The qop.</param>
  4246. <param name="nonce">The nonce.</param>
  4247. <param name="nc">The nc.</param>
  4248. <param name="cnonce">The cnonce.</param>
  4249. <returns>Digest enrypted string</returns>
  4250. </member>
  4251. <member name="M:HttpServer.Authentication.DigestAuthentication.CreateResponse(System.String,System.Object[])">
  4252. <summary>
  4253. Create a response that can be sent in the WWW-Authenticate header.
  4254. </summary>
  4255. <param name="realm">Realm that the user should authenticate in</param>
  4256. <param name="options">First options specifies if true if username/password is correct but not cnonce.</param>
  4257. <returns>A correct auth request.</returns>
  4258. <exception cref="T:System.ArgumentNullException">If realm is empty or null.</exception>
  4259. </member>
  4260. <member name="M:HttpServer.Authentication.DigestAuthentication.Decode(System.String,System.Text.Encoding)">
  4261. <summary>
  4262. Decodes authorization header value
  4263. </summary>
  4264. <param name="buffer">header value</param>
  4265. <param name="encoding">Encoding that the buffer is in</param>
  4266. <returns>All headers and their values if successful; otherwise null</returns>
  4267. <example>
  4268. NameValueCollection header = DigestAuthentication.Decode("response=\"6629fae49393a05397450978507c4ef1\",\r\nc=00001", Encoding.ASCII);
  4269. </example>
  4270. <remarks>Can handle lots of whitespaces and new lines without failing.</remarks>
  4271. </member>
  4272. <member name="M:HttpServer.Authentication.DigestAuthentication.GetCurrentNonce">
  4273. <summary>
  4274. Gets the current nonce.
  4275. </summary>
  4276. <returns></returns>
  4277. </member>
  4278. <member name="M:HttpServer.Authentication.DigestAuthentication.GetMD5HashBinHex2(System.String)">
  4279. <summary>
  4280. Gets the Md5 hash bin hex2.
  4281. </summary>
  4282. <param name="toBeHashed">To be hashed.</param>
  4283. <returns></returns>
  4284. </member>
  4285. <member name="M:HttpServer.Authentication.DigestAuthentication.IsValidNonce(System.String)">
  4286. <summary>
  4287. determines if the nonce is valid or has expired.
  4288. </summary>
  4289. <param name="nonce">nonce value (check wikipedia for info)</param>
  4290. <returns>true if the nonce has not expired.</returns>
  4291. </member>
  4292. <member name="P:HttpServer.Authentication.DigestAuthentication.Name">
  4293. <summary>
  4294. name used in http request.
  4295. </summary>
  4296. </member>
  4297. <member name="T:HttpServer.Sessions.MemorySessionStore">
  4298. <summary>
  4299. Session store using memory for each session.
  4300. </summary>
  4301. </member>
  4302. <member name="M:HttpServer.Sessions.MemorySessionStore.#ctor">
  4303. <summary>
  4304. Initializes the class setting the expirationtimer to clean the session every minute
  4305. </summary>
  4306. </member>
  4307. <member name="M:HttpServer.Sessions.MemorySessionStore.Cleanup(System.Object)">
  4308. <summary>
  4309. Delegate for the cleanup timer
  4310. </summary>
  4311. </member>
  4312. <member name="M:HttpServer.Sessions.MemorySessionStore.Create">
  4313. <summary>
  4314. Creates a new http session
  4315. </summary>
  4316. <returns></returns>
  4317. </member>
  4318. <member name="M:HttpServer.Sessions.MemorySessionStore.Create(System.String)">
  4319. <summary>
  4320. Creates a new http session with a specific id
  4321. </summary>
  4322. <param name="id">Id used to identify the new cookie..</param>
  4323. <returns>A <see cref="T:HttpServer.Sessions.IHttpSession"/> object.</returns>
  4324. <remarks>
  4325. Id should be generated by the store implementation if it's null or <see cref="F:System.String.Empty"/>.
  4326. </remarks>
  4327. </member>
  4328. <member name="M:HttpServer.Sessions.MemorySessionStore.Load(System.String)">
  4329. <summary>
  4330. Load an existing session.
  4331. </summary>
  4332. <param name="sessionId"></param>
  4333. <returns></returns>
  4334. </member>
  4335. <member name="M:HttpServer.Sessions.MemorySessionStore.Save(HttpServer.Sessions.IHttpSession)">
  4336. <summary>
  4337. Save an updated session to the store.
  4338. </summary>
  4339. <param name="session"></param>
  4340. </member>
  4341. <member name="M:HttpServer.Sessions.MemorySessionStore.AddUnused(HttpServer.Sessions.IHttpSession)">
  4342. <summary>
  4343. We use the flyweight pattern which reuses small objects
  4344. instead of creating new each time.
  4345. </summary>
  4346. <param name="session">EmptyLanguageNode (unused) session that should be reused next time Create is called.</param>
  4347. </member>
  4348. <member name="M:HttpServer.Sessions.MemorySessionStore.Cleanup">
  4349. <summary>
  4350. Remove expired sessions
  4351. </summary>
  4352. </member>
  4353. <member name="M:HttpServer.Sessions.MemorySessionStore.Remove(System.String)">
  4354. <summary>
  4355. Remove a session
  4356. </summary>
  4357. <param name="sessionId">id of the session.</param>
  4358. </member>
  4359. <member name="P:HttpServer.Sessions.MemorySessionStore.Item(System.String)">
  4360. <summary>
  4361. Load a session from the store
  4362. </summary>
  4363. <param name="sessionId"></param>
  4364. <returns>null if session is not found.</returns>
  4365. </member>
  4366. <member name="P:HttpServer.Sessions.MemorySessionStore.ExpireTime">
  4367. <summary>
  4368. Number of minutes before a session expires.
  4369. Default is 20 minutes.
  4370. </summary>
  4371. </member>
  4372. <member name="T:HttpServer.Rendering.ITemplateInfo">
  4373. <summary>
  4374. Keeps information about templates, so we know when to regenerate it.
  4375. </summary>
  4376. </member>
  4377. <member name="P:HttpServer.Rendering.ITemplateInfo.CompiledWhen">
  4378. <summary>
  4379. When the template was compiled.
  4380. </summary>
  4381. <remarks>Use this date to determine if the template is old and needs to be recompiled.</remarks>
  4382. </member>
  4383. <member name="P:HttpServer.Rendering.ITemplateInfo.Filename">
  4384. <summary>
  4385. Template file name.
  4386. </summary>
  4387. </member>
  4388. <member name="P:HttpServer.Rendering.ITemplateInfo.Template">
  4389. <summary>
  4390. The actual template.
  4391. </summary>
  4392. </member>
  4393. <member name="T:HttpServer.Helpers.FormValidator">
  4394. <summary>
  4395. Validator is used to validate all input items in a form.
  4396. </summary>
  4397. </member>
  4398. <member name="M:HttpServer.Helpers.FormValidator.#ctor(System.Collections.Specialized.NameValueCollection)">
  4399. <summary>
  4400. Initializes a new instance of the <see cref="T:HttpServer.Helpers.FormValidator"/> class.
  4401. </summary>
  4402. <param name="errors">collection to be filled with errors</param>
  4403. </member>
  4404. <member name="M:HttpServer.Helpers.FormValidator.#ctor(System.Collections.Specialized.NameValueCollection,Fadd.Globalization.LanguageNode)">
  4405. <summary>
  4406. Initializes a new instance of the <see cref="T:HttpServer.Helpers.FormValidator"/> class.
  4407. </summary>
  4408. <param name="errors">collection to be filled with errors</param>
  4409. <param name="modelLanguage">Translation used to translate the "name" parameters in all validation methods.</param>
  4410. </member>
  4411. <member name="M:HttpServer.Helpers.FormValidator.#ctor(Fadd.Globalization.LanguageNode)">
  4412. <summary>
  4413. Initializes a new instance of the <see cref="T:HttpServer.Helpers.FormValidator"/> class.
  4414. </summary>
  4415. <param name="modelLanguage">Translation used to translate the "name" parameters in all validation methods.</param>
  4416. </member>
  4417. <member name="M:HttpServer.Helpers.FormValidator.#ctor(HttpServer.IHttpInput)">
  4418. <summary>
  4419. </summary>
  4420. <param name="form">form that validation should be made on.</param>
  4421. </member>
  4422. <member name="M:HttpServer.Helpers.FormValidator.#ctor(HttpServer.IHttpInput,System.Collections.Specialized.NameValueCollection)">
  4423. <summary>
  4424. </summary>
  4425. <param name="errors">collection that all validation errors are added to.</param>
  4426. <param name="form">form that validation should be made on.</param>
  4427. </member>
  4428. <member name="M:HttpServer.Helpers.FormValidator.#ctor(HttpServer.IHttpInput,System.Collections.Specialized.NameValueCollection,Fadd.Globalization.LanguageNode)">
  4429. <summary>
  4430. </summary>
  4431. <param name="errors">collection that all validation errors are added to.</param>
  4432. <param name="form">form that validation should be made on.</param>
  4433. <param name="modelLanguage">Language category used to translate field names.</param>
  4434. </member>
  4435. <member name="M:HttpServer.Helpers.FormValidator.SetForm(HttpServer.IHttpInput)">
  4436. <summary>
  4437. Switch to a new http input.
  4438. </summary>
  4439. <param name="form">form to use validation for now</param>
  4440. </member>
  4441. <member name="M:HttpServer.Helpers.FormValidator.SetForm(HttpServer.IHttpInput,Fadd.Globalization.LanguageNode)">
  4442. <summary>
  4443. Switch to a new http input.
  4444. </summary>
  4445. <param name="form">form to use validation for now</param>
  4446. <param name="modelLanguage">language for the validation</param>
  4447. </member>
  4448. <member name="M:HttpServer.Helpers.FormValidator.Digits(System.String,System.Boolean)">
  4449. <summary>
  4450. Check if a value is digits only
  4451. </summary>
  4452. <param name="name">Field name.</param>
  4453. <param name="required">true if field is required (may not be empty)</param>
  4454. <returns>string if validated, otherwise string.Empty</returns>
  4455. </member>
  4456. <member name="M:HttpServer.Helpers.FormValidator.Digits(System.String,System.Boolean,System.String)">
  4457. <summary>
  4458. Check if a value is digits only
  4459. </summary>
  4460. <param name="name">Field name.</param>
  4461. <param name="extraAllowedCharacters">extra characters that is allowed.</param>
  4462. <param name="required">true if field is required (may not be empty)</param>
  4463. <returns>string if validated, otherwise string.Empty</returns>
  4464. </member>
  4465. <member name="M:HttpServer.Helpers.FormValidator.Integer(System.String)">
  4466. <summary>
  4467. Check whether the specified form item is an integer.
  4468. </summary>
  4469. <param name="name">Form parameter to validate</param>
  4470. <returns>value if parameter is an int; 0 if not.</returns>
  4471. </member>
  4472. <member name="M:HttpServer.Helpers.FormValidator.Integer(System.String,System.Boolean)">
  4473. <summary>
  4474. Check whether the specified form item is an integer.
  4475. </summary>
  4476. <param name="name">Form parameter to validate</param>
  4477. <param name="required">Paramater is required (adds an error if it's not specified)</param>
  4478. <returns>value if parameter is an int; 0 if not.</returns>
  4479. </member>
  4480. <member name="M:HttpServer.Helpers.FormValidator.Double(System.String,System.Boolean)">
  4481. <summary>
  4482. Check whether the specified value is a double.
  4483. </summary>
  4484. <param name="name">Name of the parameter</param>
  4485. <param name="required">Paramater is required (adds an error if it's not specified)</param>
  4486. <returns>value if parameter is a double; 0 if not.</returns>
  4487. </member>
  4488. <member name="M:HttpServer.Helpers.FormValidator.Currency(System.String,System.Boolean)">
  4489. <summary>
  4490. Check whether the specified value is a currency amount.
  4491. </summary>
  4492. <param name="name">Name of the parameter</param>
  4493. <param name="required">Paramater is required (adds an error if it's not specified)</param>
  4494. <returns>value if parameter is a currency amount; 0 if not.</returns>
  4495. </member>
  4496. <member name="M:HttpServer.Helpers.FormValidator.Hex(System.String,System.Boolean)">
  4497. <summary>
  4498. Validates a string to hex
  4499. </summary>
  4500. <param name="name">The name of the field to validate</param>
  4501. <param name="required">If the field must be set</param>
  4502. <returns>The value if validated otherwise string.Empty</returns>
  4503. </member>
  4504. <member name="M:HttpServer.Helpers.FormValidator.LettersOrDigits(System.String,System.Boolean)">
  4505. <summary>
  4506. Validate that a string only contains letters or digits.
  4507. </summary>
  4508. <param name="name">Name of form parameter to validate.</param>
  4509. <param name="required">Value is required.</param>
  4510. <returns>value if valid; otherwise string.EmptyLanguageNode.</returns>
  4511. </member>
  4512. <member name="M:HttpServer.Helpers.FormValidator.LettersOrDigits(System.String)">
  4513. <summary>
  4514. Validate that a string only contains letters or digits.
  4515. </summary>
  4516. <param name="name">Form parameter name.</param>
  4517. <returns>vaue if found; otherwise string.Empty</returns>
  4518. </member>
  4519. <member name="M:HttpServer.Helpers.FormValidator.LettersOrDigits(System.String,System.Boolean,System.String)">
  4520. <summary>
  4521. Validate that a string only contains letters, digits or the specified characters
  4522. </summary>
  4523. <param name="name">Form parameter name.</param>
  4524. <param name="required">may not be null or empty if true.</param>
  4525. <param name="extraCharacters">any other allowed characters.</param>
  4526. <returns>value if valid; otherwise string.Empty</returns>
  4527. </member>
  4528. <member name="M:HttpServer.Helpers.FormValidator.Letters(System.String,System.Boolean)">
  4529. <summary>
  4530. Validate that a string consists of only letters (including special letters)
  4531. </summary>
  4532. <param name="name"></param>
  4533. <param name="required">If a value must be passed</param>
  4534. <returns></returns>
  4535. </member>
  4536. <member name="M:HttpServer.Helpers.FormValidator.Letters(System.String,System.Boolean,System.String)">
  4537. <summary>
  4538. Validate that a string consists of only letters (a-z and A-Z)
  4539. </summary>
  4540. <param name="name"></param>
  4541. <param name="required">If a value must be passed</param>
  4542. <param name="extraCharacters">A string of extra character to test against, dont forget language specific characters and spaces if wished for</param>
  4543. <returns></returns>
  4544. </member>
  4545. <member name="M:HttpServer.Helpers.FormValidator.AlphaNumeric(System.String)">
  4546. <summary>
  4547. Check whether the specified value is an integer.
  4548. </summary>
  4549. <param name="name">Name of the parameter</param>
  4550. <returns>value if parameter contains valid characters; string.Empty if not.</returns>
  4551. </member>
  4552. <member name="M:HttpServer.Helpers.FormValidator.AlphaNumeric(System.String,System.Boolean)">
  4553. <summary>
  4554. Check whether the specified value is an integer.
  4555. </summary>
  4556. <param name="name">Name of the parameter</param>
  4557. <param name="required">Paramater is required (adds an error if it's not specified)</param>
  4558. <returns>value if parameter contains valid characters; string.Empty if not.</returns>
  4559. </member>
  4560. <member name="M:HttpServer.Helpers.FormValidator.Password(System.String,System.Boolean)">
  4561. <summary>
  4562. Validate that a string only contains letters or digits or any of the <see cref="F:Fadd.Validator.PasswordChars"/>.
  4563. </summary>
  4564. <param name="name">Name of form parameter to validate.</param>
  4565. <param name="required">Value is required.</param>
  4566. <returns>value if valid; otherwise string.Empty.</returns>
  4567. </member>
  4568. <member name="M:HttpServer.Helpers.FormValidator.Password(System.String)">
  4569. <summary>
  4570. Validate that a string only contains letters or digits or any of the <see cref="F:Fadd.Validator.PasswordChars"/>.
  4571. </summary>
  4572. <param name="name">Form parameter name.</param>
  4573. <returns>vaue if found; otherwise string.Empty</returns>
  4574. </member>
  4575. <member name="M:HttpServer.Helpers.FormValidator.Required(System.String)">
  4576. <summary>
  4577. Check's weather a parameter is null or not.
  4578. </summary>
  4579. <param name="name">Parameter in form</param>
  4580. <returns>true if value is not null; otherwise false.</returns>
  4581. </member>
  4582. <member name="M:HttpServer.Helpers.FormValidator.String(System.String,System.Boolean)">
  4583. <summary>
  4584. Validate a string value
  4585. </summary>
  4586. <param name="name">Name of form parameter to validate.</param>
  4587. <param name="required">Value is required.</param>
  4588. <returns>value if valid; otherwise string.Empty.</returns>
  4589. </member>
  4590. <member name="M:HttpServer.Helpers.FormValidator.String(System.String)">
  4591. <summary>
  4592. Validate a string parameter in the form
  4593. </summary>
  4594. <param name="name">Form parameter name.</param>
  4595. <returns>vaue if found; otherwise string.Empty</returns>
  4596. </member>
  4597. <member name="M:HttpServer.Helpers.FormValidator.Email(System.String,System.Boolean)">
  4598. <summary>
  4599. validates email address using a regexp.
  4600. </summary>
  4601. <param name="name">field name</param>
  4602. <param name="required">field is required (may not be null or empty).</param>
  4603. <returns>value if validation is ok; otherwise string.Empty.</returns>
  4604. </member>
  4605. <member name="M:HttpServer.Helpers.FormValidator.Char(System.String,System.Boolean)">
  4606. <summary>
  4607. Check whether the specified value is an character.
  4608. </summary>
  4609. <param name="name">Name of the parameter</param>
  4610. <param name="required">Paramater is required (adds an error if it's not specified)</param>
  4611. <returns>value if parameter is an int; char.MinValue if not.</returns>
  4612. </member>
  4613. <member name="M:HttpServer.Helpers.FormValidator.Char(System.String)">
  4614. <summary>
  4615. Check whether the specified value is an character.
  4616. </summary>
  4617. <param name="name">Name of the parameter</param>
  4618. <returns>value if parameter is an int; char.MinValue if not.</returns>
  4619. </member>
  4620. <member name="M:HttpServer.Helpers.FormValidator.Boolean(System.String,System.Boolean)">
  4621. <summary>
  4622. Checks whether a field is true (can also be in native language).
  4623. </summary>
  4624. <param name="name">field name</param>
  4625. <param name="required">field is required (may not be null or empty).</param>
  4626. <returns>true if value is true; false if value is false or if validation failed.</returns>
  4627. <remarks>Check validation errors to see if error ocurred.</remarks>
  4628. </member>
  4629. <member name="M:HttpServer.Helpers.FormValidator.Boolean(System.String)">
  4630. <summary>
  4631. Checks whether a field is true (can also be in native language).
  4632. </summary>
  4633. <param name="name">field name</param>
  4634. <returns>true if value is true; false if value is false or if validation failed.</returns>
  4635. <remarks>Check validation errors to see if error ocurred.</remarks>
  4636. </member>
  4637. <member name="T:HttpServer.Rendering.ResourceManager">
  4638. <summary>
  4639. Class to handle loading of resource files
  4640. </summary>
  4641. </member>
  4642. <member name="F:HttpServer.Rendering.ResourceManager._loadedResources">
  4643. <summary><![CDATA[
  4644. Maps uri's to resources, Dictionary<uri, resource>
  4645. ]]></summary>
  4646. </member>
  4647. <member name="M:HttpServer.Rendering.ResourceManager.ParseName(System.String@,System.String@)">
  4648. <summary>
  4649. Parses a filename and sets it to the extensionless name in lowercase. The extension is cut out without the dot.
  4650. </summary>
  4651. <param name="filename"></param>
  4652. <param name="extension"></param>
  4653. <usage>
  4654. string ext;
  4655. string filename = "/uSeR/teSt.haMl";
  4656. ParseName(ref filename, out ext);
  4657. Console.WriteLine("File: " + filename);
  4658. Console.WriteLine("Ext: " + ext);
  4659. -> user/test
  4660. -> haml
  4661. </usage>
  4662. </member>
  4663. <member name="M:HttpServer.Rendering.ResourceManager.AddResource(System.String,HttpServer.Rendering.ResourceInfo)">
  4664. <summary>
  4665. Add a resource to a specified uri without extension, ie user/test
  4666. </summary>
  4667. <param name="uri">The uri to add the resource to</param>
  4668. <param name="info">The <see cref="T:HttpServer.Rendering.ResourceInfo"/> instance describing the resource</param>
  4669. </member>
  4670. <member name="M:HttpServer.Rendering.ResourceManager.LoadResources(System.String,System.Reflection.Assembly,System.String)">
  4671. <summary>
  4672. Loads resources from a namespace in the given assembly to an uri
  4673. </summary>
  4674. <param name="toUri">The uri to map the resources to</param>
  4675. <param name="fromAssembly">The assembly in which the resources reside</param>
  4676. <param name="fromNamespace">The namespace from which to load the resources</param>
  4677. <usage>
  4678. resourceLoader.LoadResources("/user/", typeof(User).Assembly, "MyLib.Models.User.Views");
  4679. will make ie the resource MyLib.Models.User.Views.list.Haml accessible via /user/list.haml or /user/list/
  4680. </usage>
  4681. </member>
  4682. <member name="M:HttpServer.Rendering.ResourceManager.GetResourceStream(System.String)">
  4683. <summary>
  4684. Retrieves a stream for the specified resource path if loaded otherwise null
  4685. </summary>
  4686. <param name="path">Path to the resource to retrieve a stream for</param>
  4687. <returns>A stream or null if the resource couldn't be found</returns>
  4688. </member>
  4689. <member name="M:HttpServer.Rendering.ResourceManager.GetFiles(System.String)">
  4690. <summary>
  4691. Fetch all files from the resource that matches the specified arguments.
  4692. </summary>
  4693. <param name="path">The path to the resource to extract</param>
  4694. <returns>
  4695. a list of files if found; or an empty array if no files are found.
  4696. </returns>
  4697. </member>
  4698. <member name="M:HttpServer.Rendering.ResourceManager.GetFiles(System.String,System.String)">
  4699. <summary>
  4700. Fetch all files from the resource that matches the specified arguments.
  4701. </summary>
  4702. <param name="path">Where the file should reside.</param>
  4703. <param name="filename">Files to check</param>
  4704. <returns>
  4705. a list of files if found; or an empty array if no files are found.
  4706. </returns>
  4707. </member>
  4708. <member name="M:HttpServer.Rendering.ResourceManager.ContainsResource(System.String)">
  4709. <summary>
  4710. Returns whether or not the loader has an instance of the file requested
  4711. </summary>
  4712. <param name="filename">The name of the template/file</param>
  4713. <returns>True if the loader can provide the file</returns>
  4714. </member>
  4715. <member name="T:HttpServer.ExceptionHandler">
  4716. <summary>
  4717. We dont want to let the server to die due to exceptions thrown in worker threads.
  4718. therefore we use this delegate to give you a change to handle uncaught exceptions.
  4719. </summary>
  4720. <param name="source">Class that the exception was thrown in.</param>
  4721. <param name="exception">Exception</param>
  4722. <remarks>
  4723. Server will throw a InternalServerException in release version if you dont
  4724. handle this delegate.
  4725. </remarks>
  4726. </member>
  4727. <member name="T:HttpServer.Controllers.AuthValidatorAttribute">
  4728. <summary>
  4729. Method marked with this attribute determines if authentication is required.
  4730. </summary>
  4731. <seealso cref="T:HttpServer.HttpModules.ControllerModule"/>
  4732. <seealso cref="T:HttpServer.HttpServer"/>
  4733. <seealso cref="T:HttpServer.Controllers.AuthRequiredAttribute"/>
  4734. <seealso cref="T:HttpServer.HttpModules.WebSiteModule"/>
  4735. <remarks>
  4736. <para>The method should take one parameter (int level), return a bool and be protected/private.</para>
  4737. <para>You should throw UnauthorizedException if you are using HTTP authentication.</para>
  4738. </remarks>
  4739. <example>
  4740. <![CDATA[
  4741. public enum UserLevel
  4742. {
  4743. Guest,
  4744. User,
  4745. Admin,
  4746. SuperAdmin
  4747. }
  4748. public class UserController : RequestController
  4749. {
  4750. [AuthRequired(UserLevel.User)]
  4751. public string View()
  4752. {
  4753. return "Can also be viewed by users";
  4754. }
  4755. [AuthValidatorAttribute]
  4756. public bool ValidateUser(int level)
  4757. {
  4758. (User)user = Session["user"];
  4759. return user != null && user.Status >= level;
  4760. }
  4761. }
  4762. ]]>
  4763. </example>
  4764. </member>
  4765. <member name="T:HttpServer.RequestCookies">
  4766. <summary>
  4767. This class is created as a wrapper, since there are two different cookie types in .Net (Cookie and HttpCookie).
  4768. The framework might switch class in the future and we dont want to have to replace all instances
  4769. </summary>
  4770. </member>
  4771. <member name="M:HttpServer.RequestCookies.#ctor(System.String)">
  4772. <summary>
  4773. Let's copy all the cookies.
  4774. </summary>
  4775. <param name="cookies">value from cookie header.</param>
  4776. </member>
  4777. <member name="M:HttpServer.RequestCookies.Add(HttpServer.RequestCookie)">
  4778. <summary>
  4779. Adds a cookie in the collection.
  4780. </summary>
  4781. <param name="cookie">cookie to add</param>
  4782. <exception cref="T:System.ArgumentNullException">cookie is null</exception>
  4783. </member>
  4784. <member name="M:HttpServer.RequestCookies.GetEnumerator">
  4785. <summary>
  4786. Gets a collection enumerator on the cookie list.
  4787. </summary>
  4788. <returns>collection enumerator</returns>
  4789. </member>
  4790. <member name="M:HttpServer.RequestCookies.Clear">
  4791. <summary>
  4792. Remove all cookies.
  4793. </summary>
  4794. </member>
  4795. <member name="M:HttpServer.RequestCookies.System#Collections#Generic#IEnumerable{HttpServer#RequestCookie}#GetEnumerator">
  4796. <summary>
  4797. Returns an enumerator that iterates through the collection.
  4798. </summary>
  4799. <returns>
  4800. A <see cref="T:System.Collections.Generic.IEnumerator`1"></see> that can be used to iterate through the collection.
  4801. </returns>
  4802. <filterpriority>1</filterpriority>
  4803. </member>
  4804. <member name="P:HttpServer.RequestCookies.Count">
  4805. <summary>
  4806. Gets the count of cookies in the collection.
  4807. </summary>
  4808. </member>
  4809. <member name="P:HttpServer.RequestCookies.Item(System.String)">
  4810. <summary>
  4811. Gets the cookie of a given identifier (null if not existing).
  4812. </summary>
  4813. </member>
  4814. <member name="T:HttpServer.RealmHandler">
  4815. <summary>
  4816. Delegate used to find a realm/domain.
  4817. </summary>
  4818. <param name="domain"></param>
  4819. <returns></returns>
  4820. <remarks>
  4821. Realms are used during HTTP Authentication
  4822. </remarks>
  4823. <seealso cref="T:HttpServer.Authentication.AuthModule"/>
  4824. <seealso cref="T:HttpServer.Authentication.AuthenticationHandler"/>
  4825. </member>
  4826. <member name="T:HttpServer.HttpServer">
  4827. <summary>
  4828. A complete HTTP server, you need to add a module to it to be able to handle incoming requests.
  4829. </summary>
  4830. <example>
  4831. <code>
  4832. // this small example will add two web site modules, thus handling
  4833. // two different sites. In reality you should add Controller modules or something
  4834. // two the website modules to be able to handle different requests.
  4835. HttpServer server = new HttpServer();
  4836. server.Add(new WebSiteModule("www.gauffin.com", "Gauffin Telecom AB"));
  4837. server.Add(new WebSiteModule("www.vapadi.se", "Remote PBX"));
  4838. // start regular http
  4839. server.Start(IPAddress.Any, 80);
  4840. // start https
  4841. server.Start(IPAddress.Any, 443, myCertificate);
  4842. </code>
  4843. </example>
  4844. <seealso cref="T:HttpServer.HttpModules.HttpModule"/>
  4845. <seealso cref="T:HttpServer.HttpModules.ControllerModule"/>
  4846. <seealso cref="T:HttpServer.HttpModules.FileModule"/>
  4847. <seealso cref="T:HttpServer.HttpListener"/>
  4848. </member>
  4849. <member name="M:HttpServer.HttpServer.#ctor">
  4850. <summary>
  4851. Initializes a new instance of the <see cref="T:HttpServer.HttpServer"/> class.
  4852. </summary>
  4853. </member>
  4854. <member name="M:HttpServer.HttpServer.#ctor(HttpServer.FormDecoders.FormDecoderProvider)">
  4855. <summary>
  4856. Initializes a new instance of the <see cref="T:HttpServer.HttpServer"/> class.
  4857. </summary>
  4858. <param name="decoderProvider">Form decoders are used to convert different types of posted data to the <see cref="T:HttpServer.HttpInput"/> object types.</param>
  4859. <seealso cref="T:HttpServer.FormDecoders.IFormDecoder"/>
  4860. <seealso cref="P:HttpServer.HttpServer.FormDecoderProviders"/>
  4861. </member>
  4862. <member name="M:HttpServer.HttpServer.#ctor(HttpServer.Sessions.IHttpSessionStore)">
  4863. <summary>
  4864. Initializes a new instance of the <see cref="T:HttpServer.HttpServer"/> class.
  4865. </summary>
  4866. <param name="sessionStore">A session store is used to save and retrieve sessions</param>
  4867. <seealso cref="T:HttpServer.Sessions.IHttpSessionStore"/>
  4868. </member>
  4869. <member name="M:HttpServer.HttpServer.#ctor(HttpServer.ILogWriter)">
  4870. <summary>
  4871. Initializes a new instance of the <see cref="T:HttpServer.HttpServer"/> class.
  4872. </summary>
  4873. <param name="logWriter">The log writer.</param>
  4874. <seealso cref="P:HttpServer.HttpServer.LogWriter"/>
  4875. </member>
  4876. <member name="M:HttpServer.HttpServer.#ctor(HttpServer.FormDecoders.FormDecoderProvider,HttpServer.ILogWriter)">
  4877. <summary>
  4878. Initializes a new instance of the <see cref="T:HttpServer.HttpServer"/> class.
  4879. </summary>
  4880. <param name="decoderProvider">Form decoders are used to convert different types of posted data to the <see cref="T:HttpServer.HttpInput"/> object types.</param>
  4881. <param name="logWriter">The log writer.</param>
  4882. <seealso cref="T:HttpServer.FormDecoders.IFormDecoder"/>
  4883. <seealso cref="P:HttpServer.HttpServer.FormDecoderProviders"/>
  4884. <seealso cref="P:HttpServer.HttpServer.LogWriter"/>
  4885. </member>
  4886. <member name="M:HttpServer.HttpServer.#ctor(HttpServer.FormDecoders.FormDecoderProvider,HttpServer.Sessions.IHttpSessionStore,HttpServer.ILogWriter)">
  4887. <summary>
  4888. Initializes a new instance of the <see cref="T:HttpServer.HttpServer"/> class.
  4889. </summary>
  4890. <param name="decoderProvider">Form decoders are used to convert different types of posted data to the <see cref="T:HttpServer.HttpInput"/> object types.</param>
  4891. <param name="sessionStore">A session store is used to save and retrieve sessions</param>
  4892. <param name="logWriter">The log writer.</param>
  4893. <seealso cref="T:HttpServer.FormDecoders.IFormDecoder"/>
  4894. <seealso cref="P:HttpServer.HttpServer.FormDecoderProviders"/>
  4895. <seealso cref="P:HttpServer.HttpServer.LogWriter"/>
  4896. <seealso cref="T:HttpServer.Sessions.IHttpSessionStore"/>
  4897. </member>
  4898. <member name="M:HttpServer.HttpServer.Add(HttpServer.Rules.RedirectRule)">
  4899. <summary>
  4900. Adds the specified rule.
  4901. </summary>
  4902. <param name="rule">The rule.</param>
  4903. </member>
  4904. <member name="M:HttpServer.HttpServer.Add(HttpServer.HttpModules.HttpModule)">
  4905. <summary>
  4906. Add a <see cref="T:HttpServer.HttpModules.HttpModule"/> to the server.
  4907. </summary>
  4908. <param name="module">mode to add</param>
  4909. </member>
  4910. <member name="M:HttpServer.HttpServer.DecodeBody(HttpServer.IHttpRequest)">
  4911. <summary>
  4912. Decodes the request body.
  4913. </summary>
  4914. <param name="request">The request.</param>
  4915. </member>
  4916. <member name="M:HttpServer.HttpServer.ErrorPage(HttpServer.IHttpResponse,System.Net.HttpStatusCode,System.String)">
  4917. <summary>
  4918. Generate a HTTP error page (that will be added to the response body).
  4919. response status code is also set.
  4920. </summary>
  4921. <param name="response">Response that the page will be generated in.</param>
  4922. <param name="error"><see cref="T:System.Net.HttpStatusCode"/>.</param>
  4923. <param name="body">response body contents.</param>
  4924. </member>
  4925. <member name="M:HttpServer.HttpServer.ErrorPage(HttpServer.IHttpResponse,HttpServer.Exceptions.HttpException)">
  4926. <summary>
  4927. Generate a HTTP error page (that will be added to the response body).
  4928. response status code is also set.
  4929. </summary>
  4930. <param name="response">Response that the page will be generated in.</param>
  4931. <param name="err">exception.</param>
  4932. </member>
  4933. <member name="M:HttpServer.HttpServer.GetRealm(HttpServer.IHttpRequest)">
  4934. <summary>
  4935. Realms are used by the <see cref="T:HttpServer.Authentication.AuthModule"/>s.
  4936. </summary>
  4937. <param name="request">HTTP request</param>
  4938. <returns>domain/realm.</returns>
  4939. </member>
  4940. <member name="M:HttpServer.HttpServer.HandleRequest(HttpServer.IHttpClientContext,HttpServer.IHttpRequest,HttpServer.IHttpResponse,HttpServer.Sessions.IHttpSession)">
  4941. <summary>
  4942. Process an incoming request.
  4943. </summary>
  4944. <param name="context">connection to client</param>
  4945. <param name="request">request information</param>
  4946. <param name="response">response that should be filled</param>
  4947. <param name="session">session information</param>
  4948. </member>
  4949. <member name="M:HttpServer.HttpServer.OnClientDisconnected(HttpServer.IHttpClientContext,System.Net.Sockets.SocketError)">
  4950. <summary>
  4951. Can be overloaded to implement stuff when a client have been connected.
  4952. </summary>
  4953. <remarks>
  4954. Default implementation does nothing.
  4955. </remarks>
  4956. <param name="client">client that disconnected</param>
  4957. <param name="error">disconnect reason</param>
  4958. </member>
  4959. <member name="M:HttpServer.HttpServer.ProcessAuthentication(HttpServer.IHttpRequest,HttpServer.IHttpResponse,HttpServer.Sessions.IHttpSession)">
  4960. <summary>
  4961. Handle authentication
  4962. </summary>
  4963. <param name="request"></param>
  4964. <param name="response"></param>
  4965. <param name="session"></param>
  4966. <returns>true if request can be handled; false if not.</returns>
  4967. </member>
  4968. <member name="M:HttpServer.HttpServer.RequestAuthentication(HttpServer.Authentication.AuthModule,HttpServer.IHttpRequest,HttpServer.IHttpResponse)">
  4969. <summary>
  4970. Will request authentication.
  4971. </summary>
  4972. <remarks>
  4973. Sends respond to client, nothing else can be done with the response after this.
  4974. </remarks>
  4975. <param name="mod"></param>
  4976. <param name="request"></param>
  4977. <param name="response"></param>
  4978. </member>
  4979. <member name="M:HttpServer.HttpServer.Start(System.Net.IPAddress,System.Int32)">
  4980. <summary>
  4981. Start the web server using regular HTTP.
  4982. </summary>
  4983. <param name="address">IP Address to listen on, use IpAddress.Any to accept connections on all ip addresses/network cards.</param>
  4984. <param name="port">Port to listen on. 80 can be a good idea =)</param>
  4985. </member>
  4986. <member name="M:HttpServer.HttpServer.Start(System.Net.IPAddress,System.Int32,System.Security.Cryptography.X509Certificates.X509Certificate)">
  4987. <summary>
  4988. Accept secure connections.
  4989. </summary>
  4990. <param name="address">IP Address to listen on, use IpAddress.Any to accept connections on all ipaddresses/network cards.</param>
  4991. <param name="port">Port to listen on. 80 can be a good idea =)</param>
  4992. <param name="certificate">Certificate to use</param>
  4993. </member>
  4994. <member name="M:HttpServer.HttpServer.Stop">
  4995. <summary>
  4996. shut down the server and listeners
  4997. </summary>
  4998. </member>
  4999. <member name="M:HttpServer.HttpServer.WriteLog(HttpServer.LogPrio,System.String)">
  5000. <summary>
  5001. write an entry to the log file
  5002. </summary>
  5003. <param name="prio">importance of the message</param>
  5004. <param name="message">log message</param>
  5005. </member>
  5006. <member name="M:HttpServer.HttpServer.WriteLog(System.Object,HttpServer.LogPrio,System.String)">
  5007. <summary>
  5008. write an entry to the log file
  5009. </summary>
  5010. <param name="source">object that wrote the message</param>
  5011. <param name="prio">importance of the message</param>
  5012. <param name="message">log message</param>
  5013. </member>
  5014. <member name="P:HttpServer.HttpServer.AuthenticationModules">
  5015. <summary>
  5016. Modules used for authentication. The module that is is added first is used as
  5017. the default authentication module.
  5018. </summary>
  5019. <remarks>Use the corresponding property
  5020. in the WebSiteModule if you are using multiple websites.</remarks>
  5021. </member>
  5022. <member name="P:HttpServer.HttpServer.FormDecoderProviders">
  5023. <summary>
  5024. Form decoder providers are used to decode request body (which normally contains form data).
  5025. </summary>
  5026. </member>
  5027. <member name="P:HttpServer.HttpServer.ServerName">
  5028. <summary>
  5029. Server name sent in HTTP responses.
  5030. </summary>
  5031. <remarks>
  5032. Do NOT include version in name, since it makes it
  5033. easier for hackers.
  5034. </remarks>
  5035. </member>
  5036. <member name="P:HttpServer.HttpServer.SessionCookieName">
  5037. <summary>
  5038. Name of cookie where session id is stored.
  5039. </summary>
  5040. </member>
  5041. <member name="P:HttpServer.HttpServer.LogWriter">
  5042. <summary>
  5043. Specified where logging should go.
  5044. </summary>
  5045. <seealso cref="T:HttpServer.NullLogWriter"/>
  5046. <seealso cref="T:HttpServer.ConsoleLogWriter"/>
  5047. <seealso cref="P:HttpServer.HttpServer.LogWriter"/>
  5048. </member>
  5049. <member name="P:HttpServer.HttpServer.BackLog">
  5050. <summary>
  5051. Number of connections that can wait to be accepted by the server.
  5052. </summary>
  5053. <remarks>Default is 10.</remarks>
  5054. </member>
  5055. <member name="E:HttpServer.HttpServer.RealmWanted">
  5056. <summary>
  5057. Realms are used during HTTP authentication.
  5058. Default realm is same as server name.
  5059. </summary>
  5060. </member>
  5061. <member name="E:HttpServer.HttpServer.ExceptionThrown">
  5062. <summary>
  5063. Let's to receive unhandled exceptions from the threads.
  5064. </summary>
  5065. <remarks>
  5066. Exceptions will be thrown during debug mode if this event is not used,
  5067. exceptions will be printed to console and suppressed during release mode.
  5068. </remarks>
  5069. </member>
  5070. <member name="T:HttpServer.Exceptions.UnauthorizedException">
  5071. <summary>
  5072. The request requires user authentication. The response MUST include a
  5073. WWW-Authenticate header field (section 14.47) containing a challenge
  5074. applicable to the requested resource.
  5075. The client MAY repeat the request with a suitable Authorization header
  5076. field (section 14.8). If the request already included Authorization
  5077. credentials, then the 401 response indicates that authorization has been
  5078. refused for those credentials. If the 401 response contains the same challenge
  5079. as the prior response, and the user agent has already attempted authentication
  5080. at least once, then the user SHOULD be presented the entity that was given in the response,
  5081. since that entity might include relevant diagnostic information.
  5082. HTTP access authentication is explained in rfc2617:
  5083. http://www.ietf.org/rfc/rfc2617.txt
  5084. (description is taken from
  5085. http://www.submissionchamber.com/help-guides/error-codes.php#sec10.4.2)
  5086. </summary>
  5087. </member>
  5088. <member name="M:HttpServer.Exceptions.UnauthorizedException.#ctor">
  5089. <summary>
  5090. Create a new unauhtorized exception.
  5091. </summary>
  5092. <seealso cref="T:HttpServer.Exceptions.UnauthorizedException"/>
  5093. </member>
  5094. <member name="M:HttpServer.Exceptions.UnauthorizedException.#ctor(System.String,System.Exception)">
  5095. <summary>
  5096. Create a new unauhtorized exception.
  5097. </summary>
  5098. <param name="message">reason to why the request was unauthorized.</param>
  5099. <param name="inner">inner exception</param>
  5100. </member>
  5101. <member name="M:HttpServer.Exceptions.UnauthorizedException.#ctor(System.String)">
  5102. <summary>
  5103. Create a new unauhtorized exception.
  5104. </summary>
  5105. <param name="message">reason to why the request was unauthorized.</param>
  5106. </member>
  5107. <member name="T:HttpServer.Rendering.Tiny.TinyGenerator">
  5108. <summary>
  5109. Generates C# rendering object using ASP similiar tags in the HTML code.
  5110. </summary>
  5111. </member>
  5112. <member name="M:HttpServer.Rendering.Tiny.TinyGenerator.GenerateCode(System.IO.TextWriter)">
  5113. <summary>
  5114. Generate C# code from the template.
  5115. </summary>
  5116. <param name="writer">A textwriter that the generated code will be written to.</param>
  5117. <exception cref="T:System.InvalidOperationException">If the template have not been parsed first.</exception>
  5118. <exception cref="T:HttpServer.Rendering.CodeGeneratorException">If template is incorrect</exception>
  5119. </member>
  5120. <member name="M:HttpServer.Rendering.Tiny.TinyGenerator.Parse(System.String)">
  5121. <summary>
  5122. Parse a file and convert into to our own template object code.
  5123. </summary>
  5124. <param name="fullPath">Path and filename to a template</param>
  5125. <exception cref="T:HttpServer.Rendering.CodeGeneratorException">If something is incorrect in the template.</exception>
  5126. <exception cref="T:System.IO.FileNotFoundException"></exception>
  5127. <exception cref="T:System.IO.DirectoryNotFoundException"></exception>
  5128. <exception cref="T:System.UnauthorizedAccessException"></exception>
  5129. <exception cref="T:System.IO.PathTooLongException"></exception>
  5130. <exception cref="T:System.NotSupportedException"></exception>
  5131. </member>
  5132. <member name="M:HttpServer.Rendering.Tiny.TinyGenerator.Parse(System.IO.TextReader)">
  5133. <summary>
  5134. Parse a file and convert into to our own template object code.
  5135. </summary>
  5136. <param name="reader">A textreader containing our template</param>
  5137. <exception cref="T:HttpServer.Rendering.CodeGeneratorException">If something is incorrect in the template.</exception>
  5138. </member>
  5139. <member name="T:HttpServer.Rendering.TemplateManager">
  5140. <summary>
  5141. Purpose if this class is to take template objects and keep them in
  5142. memory. It will also take a filename and the code generator to use
  5143. if when the template have been changed on disk.
  5144. </summary>
  5145. </member>
  5146. <member name="M:HttpServer.Rendering.TemplateManager.#ctor(HttpServer.Rendering.ITemplateLoader[])">
  5147. <summary>
  5148. Initializes a new instance of the <see cref="T:HttpServer.Rendering.TemplateManager"/> class.
  5149. </summary>
  5150. <param name="loaders">
  5151. Template loaders used to load templates from any source.
  5152. The loaders will be invoked in the order they are given, that is the first loader will always be asked to give a template
  5153. first.
  5154. </param>
  5155. </member>
  5156. <member name="M:HttpServer.Rendering.TemplateManager.#ctor">
  5157. <summary>
  5158. Initializes a new instance of the <see cref="T:HttpServer.Rendering.TemplateManager"/> class.
  5159. </summary>
  5160. <remarks>Uses the file template loader.</remarks>
  5161. </member>
  5162. <member name="M:HttpServer.Rendering.TemplateManager.Add(System.String,HttpServer.Rendering.ITemplateGenerator)">
  5163. <summary>
  5164. Add a template generator
  5165. </summary>
  5166. <param name="fileExtension">File extension without the dot.</param>
  5167. <param name="generator">Generator to handle the extension</param>
  5168. <exception cref="T:System.InvalidOperationException">If the generator already exists.</exception>
  5169. <exception cref="T:System.ArgumentException">If file extension is incorrect</exception>
  5170. <exception cref="T:System.ArgumentNullException">If generator is not specified.</exception>
  5171. <example>
  5172. <code>
  5173. cache.Add("haml", new HamlGenerator());
  5174. </code>
  5175. </example>
  5176. </member>
  5177. <member name="M:HttpServer.Rendering.TemplateManager.AddType(System.Type)">
  5178. <summary>
  5179. This type should be included, so it may be called from the scripts (name space and assembly).
  5180. </summary>
  5181. <param name="type"></param>
  5182. </member>
  5183. <member name="M:HttpServer.Rendering.TemplateManager.CheckTemplate(HttpServer.Rendering.ITemplateInfo)">
  5184. <summary>
  5185. Checks the template.
  5186. </summary>
  5187. <param name="info">Template information, filename must be set.</param>
  5188. <returns>true if template exists and have been compiled.</returns>
  5189. </member>
  5190. <member name="M:HttpServer.Rendering.TemplateManager.Compile(System.String,System.String,HttpServer.Rendering.TemplateArguments,System.String)">
  5191. <summary>
  5192. Compiles the specified code.
  5193. </summary>
  5194. <param name="fileName">Name of template.</param>
  5195. <param name="code">c# code generated from a template.</param>
  5196. <param name="arguments">Arguments as in name, value, name, value, name, value</param>
  5197. <param name="templateId">
  5198. An id to specify the exact instance of a template. Made from joining the 'TemplateClass' with the hashcode of the filename
  5199. and the hashcode of the supplied arguments
  5200. </param>
  5201. <returns>Template</returns>
  5202. <exception cref="T:HttpServer.Rendering.TemplateException">If compilation fails</exception>
  5203. </member>
  5204. <member name="M:HttpServer.Rendering.TemplateManager.GenerateCode(System.String@)">
  5205. <summary>
  5206. Will generate code from the template.
  5207. Next step is to compile the code.
  5208. </summary>
  5209. <param name="path">Path and filename to template.</param>
  5210. <exception cref="T:System.ArgumentException"></exception>
  5211. <exception cref="T:System.InvalidOperationException">If no template generator exists for the specified extension.</exception>
  5212. <exception cref="T:HttpServer.Rendering.CodeGeneratorException">If parsing/compiling fails</exception>
  5213. <see cref="M:HttpServer.Rendering.TemplateManager.Render(System.String,HttpServer.Rendering.TemplateArguments)"/>
  5214. </member>
  5215. <member name="M:HttpServer.Rendering.TemplateManager.GetGeneratorForWildCard(System.String@)">
  5216. <summary>
  5217. Find a template using wildcards in filename.
  5218. </summary>
  5219. <param name="filePath">Full path (including wildcards in filename) to where we should find a template.</param>
  5220. <returns>First found generator if an extension was matched; otherwise null.</returns>
  5221. <remarks>method is not thread safe</remarks>
  5222. </member>
  5223. <member name="M:HttpServer.Rendering.TemplateManager.RenderPartial(System.String,HttpServer.Rendering.TemplateArguments,HttpServer.Rendering.TemplateArguments)">
  5224. <summary>
  5225. Render a partial
  5226. </summary>
  5227. <param name="filename">Path and filename</param>
  5228. <param name="args">Variables used in the template. Should be specified as "name, value, name, value" where name is variable name and value is variable contents.</param>
  5229. <param name="arguments">Arguments passed from parent template</param>
  5230. <returns></returns>
  5231. <exception cref="T:System.InvalidOperationException"></exception>
  5232. <exception cref="T:HttpServer.Rendering.TemplateException"></exception>
  5233. <exception cref="T:System.ArgumentException"></exception>
  5234. </member>
  5235. <member name="M:HttpServer.Rendering.TemplateManager.Render(System.String,HttpServer.Rendering.TemplateArguments)">
  5236. <summary>
  5237. Generate HTML from a template.
  5238. </summary>
  5239. <param name="filename">Path and filename</param>
  5240. <param name="args">Variables used in the template. Should be specified as "name, value, name, value" where name is variable name and value is variable contents.</param>
  5241. <exception cref="T:System.InvalidOperationException"></exception>
  5242. <exception cref="T:Fadd.CompilerException"></exception>
  5243. <exception cref="T:System.ArgumentException"></exception>
  5244. <example>
  5245. <code>
  5246. string html = cache.Generate("views\\users\\view.haml", new TemplateArguments("user", dbUser, "isAdmin", dbUser.IsAdmin), null);
  5247. </code>
  5248. </example>
  5249. </member>
  5250. <member name="T:HttpServer.Rendering.TemplateManager.TemplateInfoImp">
  5251. <summary>
  5252. Keeps information about templates, so we know when to regenerate it.
  5253. </summary>
  5254. </member>
  5255. <member name="T:HttpServer.Rendering.ResourceInfo">
  5256. <summary>
  5257. Container to bind resource names to assemblies
  5258. </summary>
  5259. </member>
  5260. <member name="M:HttpServer.Rendering.ResourceInfo.#ctor(System.String,System.Reflection.Assembly)">
  5261. <summary>
  5262. Instantiates an instance of <see cref="T:HttpServer.Rendering.ResourceInfo"/>
  5263. </summary>
  5264. <param name="fullname">The full name/path of the resource</param>
  5265. <param name="assembly">The assembly the resource exists in</param>
  5266. </member>
  5267. <member name="M:HttpServer.Rendering.ResourceInfo.GetStream">
  5268. <summary>
  5269. Retrieves a stream to the resouce
  5270. </summary>
  5271. <returns>Null if the resource couldn't be located somehow</returns>
  5272. </member>
  5273. <member name="P:HttpServer.Rendering.ResourceInfo.Assembly">
  5274. <summary>
  5275. Retrieves the assembly the resource resides in
  5276. </summary>
  5277. </member>
  5278. <member name="P:HttpServer.Rendering.ResourceInfo.Name">
  5279. <summary>
  5280. Retrieves the full name/path of the assembly
  5281. </summary>
  5282. </member>
  5283. <member name="P:HttpServer.Rendering.ResourceInfo.Extension">
  5284. <summary>
  5285. Retrieves the extension of the resource
  5286. </summary>
  5287. </member>
  5288. <member name="T:HttpServer.Rendering.FileTemplateLoader">
  5289. <summary>
  5290. This template loader loads all templates from a folder on the hard drive.
  5291. </summary>
  5292. </member>
  5293. <member name="M:HttpServer.Rendering.FileTemplateLoader.#ctor(System.String)">
  5294. <summary>
  5295. Initializes a new instance of the <see cref="T:HttpServer.Rendering.FileTemplateLoader"/> class.
  5296. </summary>
  5297. <param name="pathPrefix">A prefix that is prepended to all requested files.</param>
  5298. <seealso cref="P:HttpServer.Rendering.FileTemplateLoader.PathPrefix"/>
  5299. </member>
  5300. <member name="M:HttpServer.Rendering.FileTemplateLoader.#ctor">
  5301. <summary>
  5302. Initializes a new instance of the <see cref="T:HttpServer.Rendering.FileTemplateLoader"/> class.
  5303. </summary>
  5304. </member>
  5305. <member name="M:HttpServer.Rendering.FileTemplateLoader.LoadTemplate(System.String)">
  5306. <summary>
  5307. Load a template into a <see cref="T:System.IO.TextReader"/> and return it.
  5308. </summary>
  5309. <param name="path">Relative path (and filename) to template.</param>
  5310. <returns>
  5311. a <see cref="T:System.IO.TextReader"/> if file was found; otherwise null.
  5312. </returns>
  5313. </member>
  5314. <member name="M:HttpServer.Rendering.FileTemplateLoader.GetFiles(System.String,System.String)">
  5315. <summary>
  5316. Fetch all files from the resource that matches the specified arguments.
  5317. </summary>
  5318. <param name="path">Where the file should reside.</param>
  5319. <param name="filename">Files to check</param>
  5320. <returns>
  5321. a list of files if found; or an empty array if no files are found.
  5322. </returns>
  5323. </member>
  5324. <member name="M:HttpServer.Rendering.FileTemplateLoader.HasTemplate(System.String)">
  5325. <summary>
  5326. Returns whether or not the loader has an instance of the file requested
  5327. </summary>
  5328. <param name="filename">The name of the template/file</param>
  5329. <returns>True if the loader can provide the file</returns>
  5330. </member>
  5331. <member name="M:HttpServer.Rendering.FileTemplateLoader.CheckTemplate(HttpServer.Rendering.ITemplateInfo)">
  5332. <summary>
  5333. Check's whether a template should be reloaded or not.
  5334. </summary>
  5335. <param name="info">template information</param>
  5336. <returns>
  5337. true if template is OK; false if it do not exist or are old.
  5338. </returns>
  5339. </member>
  5340. <member name="P:HttpServer.Rendering.FileTemplateLoader.PathPrefix">
  5341. <summary>
  5342. A prefix that is prepended to all requested files.
  5343. </summary>
  5344. <example>
  5345. <code>
  5346. <![CDATA[
  5347. // will look after template in Environment.CurrentDirectory + "views\\<ControllerName>\\templateName.*"
  5348. mgr.PathPrefix = "views\\";
  5349. ]]>
  5350. </code>
  5351. </example>
  5352. <remarks>PathPrefix may not be null, only string.Empty
  5353. </remarks>
  5354. </member>
  5355. <member name="T:HttpServer.Helpers.XmlHelper">
  5356. <summary>
  5357. Helpers to make XML handling easier
  5358. </summary>
  5359. </member>
  5360. <member name="M:HttpServer.Helpers.XmlHelper.Serialize(System.Object)">
  5361. <summary>
  5362. Serializes object to XML.
  5363. </summary>
  5364. <param name="value">object to serialize.</param>
  5365. <returns>xml</returns>
  5366. <remarks>
  5367. Removes namespaces and adds intendation
  5368. </remarks>
  5369. </member>
  5370. <member name="T:HttpServer.IHttpResponse">
  5371. <summary>
  5372. Response that is sent back to the web browser / client.
  5373. A response can be sent if different ways. The easiest one is
  5374. to just fill the Body stream with content, everything else
  5375. will then be taken care of by the framework. The default content-type
  5376. is text/html, you should change it if you send anything else.
  5377. The second and slighty more complex way is to send the response
  5378. as parts. Start with sending the header using the SendHeaders method and
  5379. then you can send the body using SendBody method, but do not forget
  5380. to set ContentType and ContentLength before doing so.
  5381. </summary>
  5382. <example>
  5383. public void MyHandler(IHttpRequest request, IHttpResponse response)
  5384. {
  5385. }
  5386. </example>
  5387. </member>
  5388. <member name="M:HttpServer.IHttpResponse.AddHeader(System.String,System.String)">
  5389. <summary>
  5390. Add another header to the document.
  5391. </summary>
  5392. <param name="name">Name of the header, case sensitive, use lower cases.</param>
  5393. <param name="value">Header values can span over multiple lines as long as each line starts with a white space. New line chars should be \r\n</param>
  5394. <exception cref="T:System.InvalidOperationException">If headers already been sent.</exception>
  5395. <exception cref="T:System.ArgumentException">If value conditions have not been met.</exception>
  5396. <remarks>Adding any header will override the default ones and those specified by properties.</remarks>
  5397. </member>
  5398. <member name="M:HttpServer.IHttpResponse.Send">
  5399. <summary>
  5400. Send headers and body to the browser.
  5401. </summary>
  5402. <exception cref="T:System.InvalidOperationException">If content have already been sent.</exception>
  5403. </member>
  5404. <member name="M:HttpServer.IHttpResponse.SendBody(System.Byte[],System.Int32,System.Int32)">
  5405. <summary>
  5406. Make sure that you have specified ContentLength and sent the headers first.
  5407. </summary>
  5408. <param name="buffer"></param>
  5409. <exception cref="T:System.InvalidOperationException">If headers have not been sent.</exception>
  5410. <see cref="M:HttpServer.IHttpResponse.SendHeaders"/>
  5411. <param name="offset">offest of first byte to send</param>
  5412. <param name="count">number of bytes to send.</param>
  5413. <seealso cref="M:HttpServer.IHttpResponse.Send"/>
  5414. <seealso cref="M:HttpServer.IHttpResponse.SendHeaders"/>
  5415. <remarks>This method can be used if you want to send body contents without caching them first. This
  5416. is recommended for larger files to keep the memory usage low.</remarks>
  5417. </member>
  5418. <member name="M:HttpServer.IHttpResponse.SendBody(System.Byte[])">
  5419. <summary>
  5420. Make sure that you have specified ContentLength and sent the headers first.
  5421. </summary>
  5422. <param name="buffer"></param>
  5423. <exception cref="T:System.InvalidOperationException">If headers have not been sent.</exception>
  5424. <see cref="M:HttpServer.IHttpResponse.SendHeaders"/>
  5425. <seealso cref="M:HttpServer.IHttpResponse.Send"/>
  5426. <seealso cref="M:HttpServer.IHttpResponse.SendHeaders"/>
  5427. <remarks>This method can be used if you want to send body contents without caching them first. This
  5428. is recommended for larger files to keep the memory usage low.</remarks>
  5429. </member>
  5430. <member name="M:HttpServer.IHttpResponse.SendHeaders">
  5431. <summary>
  5432. Send headers to the client.
  5433. </summary>
  5434. <exception cref="T:System.InvalidOperationException">If headers already been sent.</exception>
  5435. <seealso cref="M:HttpServer.IHttpResponse.AddHeader(System.String,System.String)"/>
  5436. <seealso cref="M:HttpServer.IHttpResponse.Send"/>
  5437. <seealso cref="M:HttpServer.IHttpResponse.SendBody(System.Byte[])"/>
  5438. </member>
  5439. <member name="M:HttpServer.IHttpResponse.Redirect(System.Uri)">
  5440. <summary>
  5441. Redirect client to somewhere else using the 302 status code.
  5442. </summary>
  5443. <param name="uri">Destination of the redirect</param>
  5444. <exception cref="T:System.InvalidOperationException">If headers already been sent.</exception>
  5445. <remarks>You can not do anything more with the request when a redirect have been done. This should be your last
  5446. action.</remarks>
  5447. </member>
  5448. <member name="M:HttpServer.IHttpResponse.Redirect(System.String)">
  5449. <summary>
  5450. redirect to somewhere
  5451. </summary>
  5452. <param name="url">where the redirect should go</param>
  5453. <remarks>
  5454. No body are allowed when doing redirects.
  5455. </remarks>
  5456. </member>
  5457. <member name="P:HttpServer.IHttpResponse.Body">
  5458. <summary>
  5459. The body stream is used to cache the body contents
  5460. before sending everything to the client. It's the simplest
  5461. way to serve documents.
  5462. </summary>
  5463. </member>
  5464. <member name="P:HttpServer.IHttpResponse.Chunked">
  5465. <summary>
  5466. The chunked encoding modifies the body of a message in order to
  5467. transfer it as a series of chunks, each with its own size indicator,
  5468. followed by an OPTIONAL trailer containing entity-header fields. This
  5469. allows dynamically produced content to be transferred along with the
  5470. information necessary for the recipient to verify that it has
  5471. received the full message.
  5472. </summary>
  5473. </member>
  5474. <member name="P:HttpServer.IHttpResponse.Connection">
  5475. <summary>
  5476. Kind of connection
  5477. </summary>
  5478. </member>
  5479. <member name="P:HttpServer.IHttpResponse.Encoding">
  5480. <summary>
  5481. Encoding to use when sending stuff to the client.
  5482. </summary>
  5483. <remarks>Default is UTF8</remarks>
  5484. </member>
  5485. <member name="P:HttpServer.IHttpResponse.KeepAlive">
  5486. <summary>
  5487. Number of seconds to keep connection alive
  5488. </summary>
  5489. <remarks>Only used if Connection property is set to ConnectionType.KeepAlive</remarks>
  5490. </member>
  5491. <member name="P:HttpServer.IHttpResponse.Status">
  5492. <summary>
  5493. Status code that is sent to the client.
  5494. </summary>
  5495. <remarks>Default is HttpStatusCode.Ok</remarks>
  5496. </member>
  5497. <member name="P:HttpServer.IHttpResponse.Reason">
  5498. <summary>
  5499. Information about why a specific status code was used.
  5500. </summary>
  5501. </member>
  5502. <member name="P:HttpServer.IHttpResponse.ContentLength">
  5503. <summary>
  5504. Size of the body. MUST be specified before sending the header,
  5505. unless property Chunked is set to true.
  5506. </summary>
  5507. </member>
  5508. <member name="P:HttpServer.IHttpResponse.ContentType">
  5509. <summary>
  5510. Kind of content in the body
  5511. </summary>
  5512. <remarks>Default is text/html</remarks>
  5513. </member>
  5514. <member name="P:HttpServer.IHttpResponse.HeadersSent">
  5515. <summary>
  5516. Headers have been sent to the client-
  5517. </summary>
  5518. <remarks>You can not send any additional headers if they have already been sent.</remarks>
  5519. </member>
  5520. <member name="P:HttpServer.IHttpResponse.Sent">
  5521. <summary>
  5522. The whole response have been sent.
  5523. </summary>
  5524. </member>
  5525. <member name="P:HttpServer.IHttpResponse.Cookies">
  5526. <summary>
  5527. Cookies that should be created/changed.
  5528. </summary>
  5529. </member>
  5530. <member name="T:HttpServer.ConnectionType">
  5531. <summary>
  5532. Type of HTTP connection
  5533. </summary>
  5534. </member>
  5535. <member name="F:HttpServer.ConnectionType.Close">
  5536. <summary>
  5537. Connection is closed after each request-response
  5538. </summary>
  5539. </member>
  5540. <member name="F:HttpServer.ConnectionType.KeepAlive">
  5541. <summary>
  5542. Connection is kept alive for X seconds (unless another request have been made)
  5543. </summary>
  5544. </member>
  5545. <member name="T:HttpServer.HttpInputItem">
  5546. <summary>
  5547. represents a http input item. Each item can have multiple sub items, a sub item
  5548. is made in a html form by using square brackets
  5549. </summary>
  5550. <example>
  5551. // <input type="text" name="user[FirstName]" value="jonas" /> becomes:
  5552. Console.WriteLine("Value: {0}", form["user"]["FirstName"].Value);
  5553. </example>
  5554. <remarks>
  5555. All names in a form SHOULD be in lowercase.
  5556. </remarks>
  5557. </member>
  5558. <member name="F:HttpServer.HttpInputItem.Empty">
  5559. <summary> Representation of a non-initialized HttpInputItem </summary>
  5560. </member>
  5561. <member name="M:HttpServer.HttpInputItem.#ctor(System.String,System.String)">
  5562. <summary>
  5563. Initializes an input item setting its name/identifier and value
  5564. </summary>
  5565. <param name="name">Parameter name/id</param>
  5566. <param name="value">Parameter value</param>
  5567. </member>
  5568. <member name="M:HttpServer.HttpInputItem.#ctor(HttpServer.HttpInputItem)">
  5569. <summary>Creates a deep copy of the item specified</summary>
  5570. <param name="item">The item to copy</param>
  5571. <remarks>The function makes a deep copy of quite a lot which can be slow</remarks>
  5572. </member>
  5573. <member name="M:HttpServer.HttpInputItem.Add(System.String)">
  5574. <summary>
  5575. Add another value to this item
  5576. </summary>
  5577. <param name="value"></param>
  5578. </member>
  5579. <member name="M:HttpServer.HttpInputItem.Contains(System.String)">
  5580. <summary>
  5581. checks if a subitem exists (and has a value).
  5582. </summary>
  5583. <param name="name">name in lower case</param>
  5584. <returns>true if the subitem exists and has a value; otherwise false.</returns>
  5585. </member>
  5586. <member name="M:HttpServer.HttpInputItem.ToString">
  5587. <summary> Returns a formatted representation of the instance with the values of all contained parameters </summary>
  5588. </member>
  5589. <member name="M:HttpServer.HttpInputItem.ToString(System.String,System.Boolean)">
  5590. <summary>
  5591. Outputs the string in a formatted manner
  5592. </summary>
  5593. <param name="prefix">A prefix to append, used internally</param>
  5594. <param name="asQuerySting">produce a query string</param>
  5595. </member>
  5596. <member name="M:HttpServer.HttpInputItem.Add(System.String,System.String)">
  5597. <summary>
  5598. Add a sub item
  5599. </summary>
  5600. <param name="name">Can contain array formatting, the item is then parsed and added in multiple levels</param>
  5601. <param name="value"></param>
  5602. </member>
  5603. <member name="M:HttpServer.HttpInputItem.System#Collections#Generic#IEnumerable{HttpServer#HttpInputItem}#GetEnumerator">
  5604. <summary>
  5605. Returns an enumerator that iterates through the collection.
  5606. </summary>
  5607. <returns>
  5608. A <see cref="T:System.Collections.Generic.IEnumerator`1"></see> that can be used to iterate through the collection.
  5609. </returns>
  5610. <filterpriority>1</filterpriority>
  5611. </member>
  5612. <member name="M:HttpServer.HttpInputItem.GetEnumerator">
  5613. <summary>
  5614. Returns an enumerator that iterates through a collection.
  5615. </summary>
  5616. <returns>
  5617. An <see cref="T:System.Collections.IEnumerator"></see> object that can be used to iterate through the collection.
  5618. </returns>
  5619. <filterpriority>2</filterpriority>
  5620. </member>
  5621. <member name="M:HttpServer.HttpInputItem.ToString(System.String)">
  5622. <summary>
  5623. Outputs the string in a formatted manner
  5624. </summary>
  5625. <param name="prefix">A prefix to append, used internally</param>
  5626. <returns></returns>
  5627. </member>
  5628. <member name="P:HttpServer.HttpInputItem.Count">
  5629. <summary>
  5630. Number of values
  5631. </summary>
  5632. </member>
  5633. <member name="P:HttpServer.HttpInputItem.Item(System.String)">
  5634. <summary>
  5635. Get a sub item
  5636. </summary>
  5637. <param name="name">name in lower case.</param>
  5638. <returns>HttpInputItem.Empty if no item was found.</returns>
  5639. </member>
  5640. <member name="P:HttpServer.HttpInputItem.Name">
  5641. <summary>
  5642. Name of item (in lower case).
  5643. </summary>
  5644. </member>
  5645. <member name="P:HttpServer.HttpInputItem.Value">
  5646. <summary>
  5647. Returns the first value, or null if no value exist.
  5648. </summary>
  5649. </member>
  5650. <member name="P:HttpServer.HttpInputItem.LastValue">
  5651. <summary>
  5652. Returns the last value, or null if no value exist.
  5653. </summary>
  5654. </member>
  5655. <member name="P:HttpServer.HttpInputItem.Values">
  5656. <summary>
  5657. Returns the list with values.
  5658. todo: Return a readonly collection
  5659. </summary>
  5660. </member>
  5661. <member name="P:HttpServer.HttpInputItem.HttpServer#IHttpInput#Item(System.String)">
  5662. <summary>
  5663. </summary>
  5664. <param name="name">name in lower case</param>
  5665. <returns></returns>
  5666. </member>
  5667. <member name="T:HttpServer.FormDecoders.UrlDecoder">
  5668. <summary>
  5669. Can handle application/x-www-form-urlencoded
  5670. </summary>
  5671. </member>
  5672. <member name="M:HttpServer.FormDecoders.UrlDecoder.Decode(System.IO.Stream,System.String,System.Text.Encoding)">
  5673. <summary>
  5674. </summary>
  5675. <param name="stream">Stream containing the content</param>
  5676. <param name="contentType">Content type (with any additional info like boundry). Content type is always supplied in lower case</param>
  5677. <param name="encoding">Stream enconding</param>
  5678. <returns>
  5679. A http form, or null if content could not be parsed.
  5680. </returns>
  5681. <exception cref="T:System.IO.InvalidDataException">If contents in the stream is not valid input data.</exception>
  5682. </member>
  5683. <member name="M:HttpServer.FormDecoders.UrlDecoder.CanParse(System.String)">
  5684. <summary>
  5685. Checks if the decoder can handle the mime type
  5686. </summary>
  5687. <param name="contentType">Content type (with any additional info like boundry). Content type is always supplied in lower case.</param>
  5688. <returns>True if the decoder can parse the specified content type</returns>
  5689. </member>
  5690. <member name="T:HttpServer.Controllers.ControllerTester">
  5691. <summary>
  5692. Used to simply testing of controls.
  5693. </summary>
  5694. </member>
  5695. <member name="F:HttpServer.Controllers.ControllerTester.HostName">
  5696. <summary>
  5697. Fake host name, default is "http://localhost"
  5698. </summary>
  5699. </member>
  5700. <member name="F:HttpServer.Controllers.ControllerTester.DefaultSession">
  5701. <summary>
  5702. Session used if null have been specified as argument to one of the class methods.
  5703. </summary>
  5704. </member>
  5705. <member name="M:HttpServer.Controllers.ControllerTester.Get(HttpServer.Controllers.RequestController,System.String,HttpServer.IHttpResponse@,HttpServer.Sessions.IHttpSession)">
  5706. <summary>
  5707. Send a GET request to a controller.
  5708. </summary>
  5709. <param name="controller">Controller receiving the post request.</param>
  5710. <param name="uri">Uri visited.</param>
  5711. <param name="response">Response from the controller.</param>
  5712. <param name="session">Session used during the test. null = <see cref="F:HttpServer.Controllers.ControllerTester.DefaultSession"/> is used.</param>
  5713. <returns>body posted by the response object</returns>
  5714. <example>
  5715. <code>
  5716. void MyTest()
  5717. {
  5718. ControllerTester tester = new ControllerTester();
  5719. MyController controller = new MyController();
  5720. IHttpResponse response;
  5721. string text = Get(controller, "/my/hello/1?hello=world", out response, null);
  5722. Assert.Equal("world|1", text);
  5723. }
  5724. </code>
  5725. </example>
  5726. </member>
  5727. <member name="M:HttpServer.Controllers.ControllerTester.Post(HttpServer.Controllers.RequestController,System.String,HttpServer.HttpForm,HttpServer.IHttpResponse@,HttpServer.Sessions.IHttpSession)">
  5728. <summary>
  5729. Send a POST request to a controller.
  5730. </summary>
  5731. <param name="controller">Controller receiving the post request.</param>
  5732. <param name="uri">Uri visited.</param>
  5733. <param name="form">Form being processed by controller.</param>
  5734. <param name="response">Response from the controller.</param>
  5735. <param name="session">Session used during the test. null = <see cref="F:HttpServer.Controllers.ControllerTester.DefaultSession"/> is used.</param>
  5736. <returns>body posted by the response object</returns>
  5737. <example>
  5738. <code>
  5739. void MyTest()
  5740. {
  5741. // Create a controller.
  5742. MyController controller = new MyController();
  5743. // build up a form that is used by the controller.
  5744. HttpForm form = new HttpForm();
  5745. form.Add("user[firstName]", "Jonas");
  5746. // Invoke the request
  5747. ControllerTester tester = new ControllerTester();
  5748. IHttpResponse response;
  5749. string text = tester.Get(controller, "/user/create/", form, out response, null);
  5750. // validate response back from controller.
  5751. Assert.Equal("User 'Jonas' has been created.", text);
  5752. }
  5753. </code>
  5754. </example>
  5755. </member>
  5756. <member name="T:HttpServer.ClientAcceptedEventArgs">
  5757. <summary>
  5758. Invoked when a client have been accepted by the <see cref="T:HttpServer.HttpListener"/>
  5759. </summary>
  5760. <remarks>
  5761. Can be used to revoke incoming connections
  5762. </remarks>
  5763. </member>
  5764. <member name="M:HttpServer.ClientAcceptedEventArgs.#ctor(System.Net.Sockets.Socket)">
  5765. <summary>
  5766. Initializes a new instance of the <see cref="T:HttpServer.ClientAcceptedEventArgs"/> class.
  5767. </summary>
  5768. <param name="socket">The socket.</param>
  5769. </member>
  5770. <member name="M:HttpServer.ClientAcceptedEventArgs.Revoke">
  5771. <summary>
  5772. Client may not be handled.
  5773. </summary>
  5774. </member>
  5775. <member name="P:HttpServer.ClientAcceptedEventArgs.Socket">
  5776. <summary>
  5777. Accepted socket.
  5778. </summary>
  5779. </member>
  5780. <member name="P:HttpServer.ClientAcceptedEventArgs.Revoked">
  5781. <summary>
  5782. Client should be revoked.
  5783. </summary>
  5784. </member>
  5785. <member name="T:HttpServer.ResponseCookie">
  5786. <summary>
  5787. cookie being sent back to the browser.
  5788. </summary>
  5789. <seealso cref="T:HttpServer.ResponseCookie"/>
  5790. </member>
  5791. <member name="T:HttpServer.RequestCookie">
  5792. <summary>
  5793. cookie sent by the client/browser
  5794. </summary>
  5795. <seealso cref="T:HttpServer.ResponseCookie"/>
  5796. </member>
  5797. <member name="M:HttpServer.RequestCookie.#ctor(System.String,System.String)">
  5798. <summary>
  5799. Constructor.
  5800. </summary>
  5801. <param name="id">cookie identifier</param>
  5802. <param name="content">cookie content</param>
  5803. <exception cref="T:System.ArgumentNullException">id or content is null</exception>
  5804. <exception cref="T:System.ArgumentException">id is empty</exception>
  5805. </member>
  5806. <member name="M:HttpServer.RequestCookie.ToString">
  5807. <summary>
  5808. Gets the cookie HTML representation.
  5809. </summary>
  5810. <returns>cookie string</returns>
  5811. </member>
  5812. <member name="P:HttpServer.RequestCookie.Name">
  5813. <summary>
  5814. Gets the cookie identifier.
  5815. </summary>
  5816. </member>
  5817. <member name="P:HttpServer.RequestCookie.Value">
  5818. <summary>
  5819. Cookie value. Set to null to remove cookie.
  5820. </summary>
  5821. </member>
  5822. <member name="M:HttpServer.ResponseCookie.#ctor(System.String,System.String,System.DateTime)">
  5823. <summary>
  5824. Constructor.
  5825. </summary>
  5826. <param name="id">cookie identifier</param>
  5827. <param name="content">cookie content</param>
  5828. <param name="expiresAt">cookie expiration date. Use DateTime.MinValue for session cookie.</param>
  5829. <exception cref="T:System.ArgumentNullException">id or content is null</exception>
  5830. <exception cref="T:System.ArgumentException">id is empty</exception>
  5831. </member>
  5832. <member name="M:HttpServer.ResponseCookie.#ctor(System.String,System.String,System.DateTime,System.String,System.String)">
  5833. <summary>
  5834. Create a new cookie
  5835. </summary>
  5836. <param name="name">name identifying the cookie</param>
  5837. <param name="value">cookie value</param>
  5838. <param name="expires">when the cookie expires. Setting DateTime.MinValue will delete the cookie when the session is closed.</param>
  5839. <param name="path">Path to where the cookie is valid</param>
  5840. <param name="domain">Domain that the cookie is valid for.</param>
  5841. </member>
  5842. <member name="M:HttpServer.ResponseCookie.#ctor(HttpServer.RequestCookie,System.DateTime)">
  5843. <summary>
  5844. Create a new cookie
  5845. </summary>
  5846. <param name="cookie">Name and value will be used</param>
  5847. <param name="expires">when the cookie expires.</param>
  5848. </member>
  5849. <member name="M:HttpServer.ResponseCookie.ToString">
  5850. <summary>
  5851. Gets the cookie HTML representation.
  5852. </summary>
  5853. <returns>cookie string</returns>
  5854. </member>
  5855. <member name="P:HttpServer.ResponseCookie.Expires">
  5856. <summary>
  5857. When the cookie expires.
  5858. DateTime.MinValue means that the cookie expires when the session do so.
  5859. </summary>
  5860. </member>
  5861. <member name="P:HttpServer.ResponseCookie.Path">
  5862. <summary>
  5863. Cookie is only valid under this path.
  5864. </summary>
  5865. </member>
  5866. <member name="T:HttpServer.Rendering.ITinyTemplate">
  5867. <summary>
  5868. Interface for dynamically generated templates.
  5869. </summary>
  5870. <seealso cref="T:HttpServer.Rendering.TemplateManager"/>
  5871. </member>
  5872. <member name="M:HttpServer.Rendering.ITinyTemplate.Invoke(HttpServer.Rendering.TemplateArguments,HttpServer.Rendering.TemplateManager)">
  5873. <summary>
  5874. Run the template to generate HTML code.
  5875. </summary>
  5876. <param name="args">arguments passed to the template</param>
  5877. <param name="hiddenTemplateManager">template manager (a manager is used to generate templates)</param>
  5878. <returns>HTML code.</returns>
  5879. </member>
  5880. <member name="T:HttpServer.Rendering.CodeGeneratorException">
  5881. <summary>
  5882. Contains information on where in the template the error occurred, and what the error was.
  5883. </summary>
  5884. </member>
  5885. <member name="M:HttpServer.Rendering.CodeGeneratorException.#ctor(System.Int32,System.String)">
  5886. <summary>
  5887. Initializes a new instance of the <see cref="T:HttpServer.Rendering.CodeGeneratorException"/> class.
  5888. </summary>
  5889. <param name="lineNumber">Line that the error appeared on.</param>
  5890. <param name="error">error description.</param>
  5891. </member>
  5892. <member name="M:HttpServer.Rendering.CodeGeneratorException.#ctor(System.Int32,System.String,System.String)">
  5893. <summary>
  5894. Initializes a new instance of the <see cref="T:HttpServer.Rendering.CodeGeneratorException"/> class.
  5895. </summary>
  5896. <param name="lineNumber">Line that the error appeared on.</param>
  5897. <param name="error">error description.</param>
  5898. <param name="line">line contents.</param>
  5899. </member>
  5900. <member name="P:HttpServer.Rendering.CodeGeneratorException.Line">
  5901. <summary>
  5902. Returns the actual line where the error originated
  5903. </summary>
  5904. </member>
  5905. <member name="P:HttpServer.Rendering.CodeGeneratorException.LineNumber">
  5906. <summary>
  5907. Line number in template
  5908. </summary>
  5909. </member>
  5910. <member name="T:HttpServer.Rendering.Haml.Nodes.SilentCodeNode">
  5911. <summary>
  5912. The ’-’ character makes the text following it into “silent” code: C# code that is evaluated, but not output.
  5913. It is not recommended that you use this widely; almost all processing code and logic should be restricted to the Controller, Helpers, or partials.
  5914. For example
  5915. <code>
  5916. - string foo = "hello"
  5917. - foo += " there"
  5918. - foo += " you!"
  5919. %p= foo
  5920. </code>
  5921. Is compiled to
  5922. <example>
  5923. <p>
  5924. hello there you!
  5925. </p>
  5926. </example>
  5927. </summary>
  5928. </member>
  5929. <member name="M:HttpServer.Rendering.Haml.Nodes.SilentCodeNode.CanHandle(System.String,System.Boolean)">
  5930. <summary>
  5931. determines if this node can handle the line (by checking the first word);
  5932. </summary>
  5933. <param name="word">Controller char (word)</param>
  5934. <returns>true if text belongs to this node type</returns>
  5935. <param name="firstNode">first node on line</param>
  5936. </member>
  5937. <member name="M:HttpServer.Rendering.Haml.Nodes.SilentCodeNode.Parse(HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.LineInfo,System.Int32@)">
  5938. <summary>
  5939. Parse node contents add return a fresh node.
  5940. </summary>
  5941. <param name="prototypes">List containing all node types</param>
  5942. <param name="parent">Node that this is a subnode to. Can be null</param>
  5943. <param name="line">Line to parse</param>
  5944. <param name="offset">Where to start the parsing. Should be set to where the next node should start parsing.</param>
  5945. <returns>A node corresponding to the bla bla; null if parsing failed.</returns>
  5946. <exception cref="T:HttpServer.Rendering.CodeGeneratorException"></exception>
  5947. </member>
  5948. <member name="M:HttpServer.Rendering.Haml.Nodes.SilentCodeNode.ToCode(System.Boolean@,System.Boolean,System.Boolean)">
  5949. <summary>
  5950. Convert the node to c# code
  5951. </summary>
  5952. <param name="inString">True if we are inside the internal stringbuilder</param>
  5953. <param name="smallEnough">true if all subnodes fit on one line</param>
  5954. <param name="smallEnoughIsDefaultValue">smallEnough is a default value, recalc it</param>
  5955. <returns>c# code</returns>
  5956. </member>
  5957. <member name="M:HttpServer.Rendering.Haml.Nodes.SilentCodeNode.ToHtml">
  5958. <summary>
  5959. Convert node to HTML (with ASP-tags)
  5960. </summary>
  5961. <returns>HTML string</returns>
  5962. </member>
  5963. <member name="T:HttpServer.Rendering.TemplateCompiler">
  5964. <summary>
  5965. The compiler is responsible of creating a render object which can be
  5966. cached and used over and over again.
  5967. </summary>
  5968. <seealso cref="T:HttpServer.Rendering.TemplateManager"/>
  5969. <seealso cref="T:HttpServer.Rendering.ITemplateGenerator"/>
  5970. </member>
  5971. <member name="F:HttpServer.Rendering.TemplateCompiler.TemplateBase">
  5972. <summary>
  5973. Base c# code for a template object.
  5974. </summary>
  5975. </member>
  5976. <member name="M:HttpServer.Rendering.TemplateCompiler.#ctor">
  5977. <summary>
  5978. Create a new template compiler
  5979. </summary>
  5980. </member>
  5981. <member name="M:HttpServer.Rendering.TemplateCompiler.Add(System.Type)">
  5982. <summary>
  5983. Adds the specified type.
  5984. </summary>
  5985. <param name="type">The type.</param>
  5986. </member>
  5987. <member name="M:HttpServer.Rendering.TemplateCompiler.Compile(HttpServer.Rendering.TemplateArguments,System.String,System.String)">
  5988. <summary>
  5989. Compiles the specified args.
  5990. </summary>
  5991. <param name="args">Arguments, should contain "name, value, name, value" etc.</param>
  5992. <param name="template">c# code that will be included in the generated template class</param>
  5993. <param name="templateId">Id of the template class</param>
  5994. <returns>Tiny template if successful; otherwise null.</returns>
  5995. <exception cref="T:Fadd.CompilerException">If compilation fails</exception>
  5996. <exception cref="T:System.ArgumentException">If args are incorrect</exception>
  5997. </member>
  5998. <member name="T:HttpServer.HttpResponse">
  5999. <summary>
  6000. Response that is sent back to the web browser / client.
  6001. A response can be sent if different ways. The easiest one is
  6002. to just fill the Body stream with content, everything else
  6003. will then be taken care of by the framework. The default content-type
  6004. is text/html, you should change it if you send anything else.
  6005. The second and slighty more complex way is to send the response
  6006. as parts. Start with sending the header using the SendHeaders method and
  6007. then you can send the body using SendBody method, but do not forget
  6008. to set ContentType and ContentLength before doing so.
  6009. </summary>
  6010. <example>
  6011. public void MyHandler(IHttpRequest request, IHttpResponse response)
  6012. {
  6013. }
  6014. </example>
  6015. todo: add two examples, using SendHeaders/SendBody and just the Body stream.
  6016. </member>
  6017. <member name="M:HttpServer.HttpResponse.#ctor(HttpServer.IHttpClientContext,HttpServer.IHttpRequest)">
  6018. <summary>
  6019. Initializes a new instance of the <see cref="T:HttpServer.IHttpResponse"/> class.
  6020. </summary>
  6021. <param name="context">The context.</param>
  6022. <param name="request">The request.</param>
  6023. </member>
  6024. <member name="M:HttpServer.HttpResponse.AddHeader(System.String,System.String)">
  6025. <summary>
  6026. Add another header to the document.
  6027. </summary>
  6028. <param name="name">Name of the header, case sensitive, use lower cases.</param>
  6029. <param name="value">Header values can span over multiple lines as long as each line starts with a white space. New line chars should be \r\n</param>
  6030. <exception cref="T:System.InvalidOperationException">If headers already been sent.</exception>
  6031. <exception cref="T:System.ArgumentException">If value conditions have not been met.</exception>
  6032. <remarks>Adding any header will override the default ones and those specified by properties.</remarks>
  6033. </member>
  6034. <member name="M:HttpServer.HttpResponse.Send">
  6035. <summary>
  6036. Send headers and body to the browser.
  6037. </summary>
  6038. <exception cref="T:System.InvalidOperationException">If content have already been sent.</exception>
  6039. </member>
  6040. <member name="M:HttpServer.HttpResponse.SendBody(System.Byte[],System.Int32,System.Int32)">
  6041. <summary>
  6042. Make sure that you have specified ContentLength and sent the headers first.
  6043. </summary>
  6044. <param name="buffer"></param>
  6045. <exception cref="T:System.InvalidOperationException">If headers have not been sent.</exception>
  6046. <see cref="M:HttpServer.HttpResponse.SendHeaders"/>
  6047. <param name="offset">offest of first byte to send</param>
  6048. <param name="count">number of bytes to send.</param>
  6049. <seealso cref="M:HttpServer.HttpResponse.Send"/>
  6050. <seealso cref="M:HttpServer.HttpResponse.SendHeaders"/>
  6051. <remarks>This method can be used if you want to send body contents without caching them first. This
  6052. is recommended for larger files to keep the memory usage low.</remarks>
  6053. </member>
  6054. <member name="M:HttpServer.HttpResponse.SendBody(System.Byte[])">
  6055. <summary>
  6056. Make sure that you have specified ContentLength and sent the headers first.
  6057. </summary>
  6058. <param name="buffer"></param>
  6059. <exception cref="T:System.InvalidOperationException">If headers have not been sent.</exception>
  6060. <see cref="M:HttpServer.HttpResponse.SendHeaders"/>
  6061. <seealso cref="M:HttpServer.HttpResponse.Send"/>
  6062. <seealso cref="M:HttpServer.HttpResponse.SendHeaders"/>
  6063. <remarks>This method can be used if you want to send body contents without caching them first. This
  6064. is recommended for larger files to keep the memory usage low.</remarks>
  6065. </member>
  6066. <member name="M:HttpServer.HttpResponse.SendHeaders">
  6067. <summary>
  6068. Send headers to the client.
  6069. </summary>
  6070. <exception cref="T:System.InvalidOperationException">If headers already been sent.</exception>
  6071. <seealso cref="M:HttpServer.HttpResponse.AddHeader(System.String,System.String)"/>
  6072. <seealso cref="M:HttpServer.HttpResponse.Send"/>
  6073. <seealso cref="M:HttpServer.HttpResponse.SendBody(System.Byte[])"/>
  6074. </member>
  6075. <member name="M:HttpServer.HttpResponse.Redirect(System.Uri)">
  6076. <summary>
  6077. Redirect client to somewhere else using the 302 status code.
  6078. </summary>
  6079. <param name="uri">Destination of the redirect</param>
  6080. <exception cref="T:System.InvalidOperationException">If headers already been sent.</exception>
  6081. <remarks>You can not do anything more with the request when a redirect have been done. This should be your last
  6082. action.</remarks>
  6083. </member>
  6084. <member name="M:HttpServer.HttpResponse.Redirect(System.String)">
  6085. <summary>
  6086. redirect to somewhere
  6087. </summary>
  6088. <param name="url">where the redirect should go</param>
  6089. <remarks>
  6090. No body are allowed when doing redirects.
  6091. </remarks>
  6092. </member>
  6093. <member name="P:HttpServer.HttpResponse.Body">
  6094. <summary>
  6095. The body stream is used to cache the body contents
  6096. before sending everything to the client. It's the simplest
  6097. way to serve documents.
  6098. </summary>
  6099. </member>
  6100. <member name="P:HttpServer.HttpResponse.Chunked">
  6101. <summary>
  6102. The chunked encoding modifies the body of a message in order to
  6103. transfer it as a series of chunks, each with its own size indicator,
  6104. followed by an OPTIONAL trailer containing entity-header fields. This
  6105. allows dynamically produced content to be transferred along with the
  6106. information necessary for the recipient to verify that it has
  6107. received the full message.
  6108. </summary>
  6109. </member>
  6110. <member name="P:HttpServer.HttpResponse.Connection">
  6111. <summary>
  6112. Kind of connection
  6113. </summary>
  6114. </member>
  6115. <member name="P:HttpServer.HttpResponse.Encoding">
  6116. <summary>
  6117. Encoding to use when sending stuff to the client.
  6118. </summary>
  6119. <remarks>Default is UTF8</remarks>
  6120. </member>
  6121. <member name="P:HttpServer.HttpResponse.KeepAlive">
  6122. <summary>
  6123. Number of seconds to keep connection alive
  6124. </summary>
  6125. <remarks>Only used if Connection property is set to ConnectionType.KeepAlive</remarks>
  6126. </member>
  6127. <member name="P:HttpServer.HttpResponse.Status">
  6128. <summary>
  6129. Status code that is sent to the client.
  6130. </summary>
  6131. <remarks>Default is HttpStatusCode.Ok</remarks>
  6132. </member>
  6133. <member name="P:HttpServer.HttpResponse.Reason">
  6134. <summary>
  6135. Information about why a specific status code was used.
  6136. </summary>
  6137. </member>
  6138. <member name="P:HttpServer.HttpResponse.ContentLength">
  6139. <summary>
  6140. Size of the body. MUST be specified before sending the header,
  6141. unless property Chunked is set to true.
  6142. </summary>
  6143. </member>
  6144. <member name="P:HttpServer.HttpResponse.ContentType">
  6145. <summary>
  6146. Kind of content in the body
  6147. </summary>
  6148. <remarks>Default is text/html</remarks>
  6149. </member>
  6150. <member name="P:HttpServer.HttpResponse.HeadersSent">
  6151. <summary>
  6152. Headers have been sent to the client-
  6153. </summary>
  6154. <remarks>You can not send any additional headers if they have already been sent.</remarks>
  6155. </member>
  6156. <member name="P:HttpServer.HttpResponse.Sent">
  6157. <summary>
  6158. The whole response have been sent.
  6159. </summary>
  6160. </member>
  6161. <member name="P:HttpServer.HttpResponse.Cookies">
  6162. <summary>
  6163. Cookies that should be created/changed.
  6164. </summary>
  6165. </member>
  6166. <member name="T:HttpServer.HttpModules.ReverseProxyModule">
  6167. <summary>
  6168. A reverse proxy are used to act as a bridge between local (protected/hidden) websites
  6169. and public clients.
  6170. A typical usage is to allow web servers on non standard ports to still be available
  6171. to the public clients, or allow web servers on private ips to be available.
  6172. </summary>
  6173. </member>
  6174. <member name="M:HttpServer.HttpModules.ReverseProxyModule.#ctor(System.String,System.String)">
  6175. <summary>
  6176. </summary>
  6177. <param name="source">Base url requested from browser</param>
  6178. <param name="destination">Base url on private web server</param>
  6179. <example>
  6180. // this will return contents from http://192.168.1.128/view/jonas when client requests http://www.gauffin.com/user/view/jonas
  6181. _server.Add(new ReverseProxyModule("http://www.gauffin.com/user/", "http://192.168.1.128/");
  6182. </example>
  6183. </member>
  6184. <member name="M:HttpServer.HttpModules.ReverseProxyModule.CanHandle(System.Uri)">
  6185. <summary>
  6186. Method that determines if an url should be handled or not by the module
  6187. </summary>
  6188. <param name="uri">Url requested by the client.</param>
  6189. <returns>true if module should handle the url.</returns>
  6190. </member>
  6191. <member name="M:HttpServer.HttpModules.ReverseProxyModule.Process(HttpServer.IHttpRequest,HttpServer.IHttpResponse,HttpServer.Sessions.IHttpSession)">
  6192. <summary>
  6193. Method that process the url
  6194. </summary>
  6195. <param name="request">Information sent by the browser about the request</param>
  6196. <param name="response">Information that is being sent back to the client.</param>
  6197. <param name="session">Session used to </param>
  6198. </member>
  6199. <member name="T:HttpServer.HttpForm">
  6200. <summary>Container for posted form data</summary>
  6201. </member>
  6202. <member name="F:HttpServer.HttpForm.EmptyForm">
  6203. <summary>Instance to help mark a non-initialized form</summary>
  6204. </member>
  6205. <member name="M:HttpServer.HttpForm.#ctor">
  6206. <summary>Initializes a form container with the specified name</summary>
  6207. </member>
  6208. <member name="M:HttpServer.HttpForm.#ctor(HttpServer.HttpInput)">
  6209. <summary>
  6210. Makes a deep copy of the input
  6211. </summary>
  6212. <param name="input">The input to copy</param>
  6213. </member>
  6214. <member name="M:HttpServer.HttpForm.AddFile(HttpServer.HttpFile)">
  6215. <summary>
  6216. Adds a file to the collection of posted files
  6217. </summary>
  6218. <param name="file">The file to add</param>
  6219. <exception cref="T:System.ArgumentException">If the file is already added</exception>
  6220. <exception cref="T:System.ArgumentNullException">If file is null</exception>
  6221. <exception cref="T:System.InvalidOperationException">If the instance is HttpForm.EmptyForm which cannot be modified</exception>
  6222. </member>
  6223. <member name="M:HttpServer.HttpForm.ContainsFile(System.String)">
  6224. <summary>
  6225. Checks if the form contains a specified file
  6226. </summary>
  6227. <param name="name">Field name of the file parameter</param>
  6228. <returns>True if the file exists</returns>
  6229. <exception cref="T:System.InvalidOperationException">If the instance is HttpForm.EmptyForm which cannot be modified</exception>
  6230. </member>
  6231. <member name="M:HttpServer.HttpForm.GetFile(System.String)">
  6232. <summary>
  6233. Retrieves a file held by by the form
  6234. </summary>
  6235. <param name="name">The identifier of the file</param>
  6236. <returns>The requested file or null if the file was not found</returns>
  6237. <exception cref="T:System.ArgumentNullException">If name is null or empty</exception>
  6238. <exception cref="T:System.InvalidOperationException">If the instance is HttpForm.EmptyForm which cannot be modified</exception>
  6239. </member>
  6240. <member name="M:HttpServer.HttpForm.Clear">
  6241. <summary>Disposes all held HttpFile's and resets values</summary>
  6242. </member>
  6243. <member name="T:HttpServer.Exceptions.InternalServerException">
  6244. <summary>
  6245. The server encountered an unexpected condition which prevented it from fulfilling the request.
  6246. </summary>
  6247. </member>
  6248. <member name="M:HttpServer.Exceptions.InternalServerException.#ctor">
  6249. <summary>
  6250. Initializes a new instance of the <see cref="T:HttpServer.Exceptions.InternalServerException"/> class.
  6251. </summary>
  6252. </member>
  6253. <member name="M:HttpServer.Exceptions.InternalServerException.#ctor(System.String)">
  6254. <summary>
  6255. Initializes a new instance of the <see cref="T:HttpServer.Exceptions.InternalServerException"/> class.
  6256. </summary>
  6257. <param name="message">error message.</param>
  6258. </member>
  6259. <member name="M:HttpServer.Exceptions.InternalServerException.#ctor(System.String,System.Exception)">
  6260. <summary>
  6261. Initializes a new instance of the <see cref="T:HttpServer.Exceptions.InternalServerException"/> class.
  6262. </summary>
  6263. <param name="message">error message.</param>
  6264. <param name="inner">inner exception.</param>
  6265. </member>
  6266. <member name="T:HttpServer.Controllers.RawHandlerAttribute">
  6267. <summary>
  6268. This attribute tells the controller that the method
  6269. uses SendHeader and/or SendBody to handle the request.
  6270. </summary>
  6271. </member>
  6272. <member name="T:HttpServer.Rendering.Haml.LineInfo">
  6273. <summary>
  6274. Contains line text and state information about a line in a HAML template.
  6275. </summary>
  6276. </member>
  6277. <member name="M:HttpServer.Rendering.Haml.LineInfo.#ctor(System.Int32,System.String)">
  6278. <summary>
  6279. Initializes a new instance of the <see cref="T:HttpServer.Rendering.Haml.LineInfo"/> class.
  6280. </summary>
  6281. <param name="lineNumber">The line number.</param>
  6282. <param name="unparsedData">The unparsed data (line contents).</param>
  6283. </member>
  6284. <member name="M:HttpServer.Rendering.Haml.LineInfo.CheckUnfinishedRule(HttpServer.Rendering.Haml.LineInfo)">
  6285. <summary>
  6286. Will check that all rule conditions have been met.
  6287. Will also remove the rules if they are done.
  6288. </summary>
  6289. <param name="line"></param>
  6290. <returns></returns>
  6291. </member>
  6292. <member name="M:HttpServer.Rendering.Haml.LineInfo.Append(HttpServer.Rendering.Haml.LineInfo)">
  6293. <summary>
  6294. Append another line
  6295. </summary>
  6296. <param name="line"></param>
  6297. </member>
  6298. <member name="M:HttpServer.Rendering.Haml.LineInfo.SetParsedData(System.String)">
  6299. <summary>
  6300. Parsed line contents (without whitespaces in the beginning)
  6301. </summary>
  6302. <param name="data">text contents</param>
  6303. </member>
  6304. <member name="M:HttpServer.Rendering.Haml.LineInfo.Set(System.Int32,System.Int32)">
  6305. <summary>
  6306. Set intendation info to previously added line text.
  6307. </summary>
  6308. <param name="whiteSpaces"></param>
  6309. <param name="intendation"></param>
  6310. </member>
  6311. <member name="M:HttpServer.Rendering.Haml.LineInfo.Set(System.String,System.Int32,System.Int32)">
  6312. <summary>
  6313. Assign line text
  6314. </summary>
  6315. <param name="line"></param>
  6316. <param name="whiteSpaces"></param>
  6317. <param name="intendation"></param>
  6318. </member>
  6319. <member name="M:HttpServer.Rendering.Haml.LineInfo.TrimRight(System.Int32)">
  6320. <summary>
  6321. </summary>
  6322. <param name="count"></param>
  6323. <exception cref="T:System.InvalidOperationException">If extra lines have been added.</exception>
  6324. </member>
  6325. <member name="P:HttpServer.Rendering.Haml.LineInfo.AppendNextLine">
  6326. <summary>
  6327. If the next line should be appended to us (multi line)
  6328. </summary>
  6329. </member>
  6330. <member name="P:HttpServer.Rendering.Haml.LineInfo.Children">
  6331. <summary>
  6332. Do NOT add yourself using the Add methods of the linkedList.
  6333. Parent property will add node.
  6334. </summary>
  6335. </member>
  6336. <member name="P:HttpServer.Rendering.Haml.LineInfo.UnparsedData">
  6337. <summary>
  6338. Untouched line text
  6339. </summary>
  6340. </member>
  6341. <member name="P:HttpServer.Rendering.Haml.LineInfo.HasChildren">
  6342. <summary>
  6343. Has one or more children (intented more that this one)
  6344. </summary>
  6345. </member>
  6346. <member name="P:HttpServer.Rendering.Haml.LineInfo.Intendation">
  6347. <summary>
  6348. Number of intends (two spaces = 1, one tab = 1)
  6349. </summary>
  6350. </member>
  6351. <member name="P:HttpServer.Rendering.Haml.LineInfo.LineNumber">
  6352. <summary>
  6353. Line number
  6354. </summary>
  6355. </member>
  6356. <member name="P:HttpServer.Rendering.Haml.LineInfo.Parent">
  6357. <summary>
  6358. Parent node (one level up in intendation)
  6359. </summary>
  6360. </member>
  6361. <member name="P:HttpServer.Rendering.Haml.LineInfo.Data">
  6362. <summary>
  6363. All line data generated on one line
  6364. </summary>
  6365. </member>
  6366. <member name="P:HttpServer.Rendering.Haml.LineInfo.UnfinishedRule">
  6367. <summary>
  6368. IRule have not got all needed information yet,
  6369. keep appending lines to this LineInfo until rule says that it's done.
  6370. </summary>
  6371. </member>
  6372. <member name="P:HttpServer.Rendering.Haml.LineInfo.WhiteSpaces">
  6373. <summary>
  6374. Number of whitespaces before actual entry beings.
  6375. </summary>
  6376. </member>
  6377. <member name="P:HttpServer.Rendering.Haml.LineInfo.SelfClosed">
  6378. <summary>
  6379. True if node is selfclosed (i.e. &lt;br /&gt;)
  6380. </summary>
  6381. </member>
  6382. <member name="M:HttpServer.Rendering.Haml.Nodes.DocTypeTag.Parse(HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.LineInfo,System.Int32@)">
  6383. <summary>
  6384. Parse node contents add return a fresh node.
  6385. </summary>
  6386. <param name="prototypes">List containing all node types</param>
  6387. <param name="parent">Node that this is a subnode to. Can be null</param>
  6388. <param name="line">Line to parse</param>
  6389. <param name="offset">Where to start the parsing. Should be set to where the next node should start parsing.</param>
  6390. <returns>A node corresponding to the bla bla; null if parsing failed.</returns>
  6391. <exception cref="T:HttpServer.Rendering.CodeGeneratorException"></exception>
  6392. </member>
  6393. <member name="M:HttpServer.Rendering.Haml.Nodes.DocTypeTag.CanHandle(System.String,System.Boolean)">
  6394. <summary>
  6395. determines if this node can handle the line (by checking the first word);
  6396. </summary>
  6397. <param name="word">Controller char (word)</param>
  6398. <returns>true if text belongs to this node type</returns>
  6399. <param name="firstNode">First node on line, used since some nodes cannot exist on their own on a line.</param>
  6400. </member>
  6401. <member name="M:HttpServer.Rendering.Haml.Nodes.DocTypeTag.ToHtml">
  6402. <summary>
  6403. Convert node to HTML (with ASP-tags)
  6404. </summary>
  6405. <returns>HTML string</returns>
  6406. <exception cref="T:System.NotImplementedException"></exception>
  6407. </member>
  6408. <member name="M:HttpServer.Rendering.Haml.Nodes.DocTypeTag.ToCode(System.Boolean@,System.Boolean,System.Boolean)">
  6409. <summary>
  6410. Convert the node to c# code
  6411. </summary>
  6412. <param name="inString">True if we are inside the internal stringbuilder</param>
  6413. <param name="smallEnough">true if all subnodes fit on one line</param>
  6414. <param name="smallEnoughIsDefaultValue">smallEnough is a default value, recalc it</param>
  6415. <returns>c# code</returns>
  6416. </member>
  6417. <member name="P:HttpServer.Rendering.Haml.Nodes.DocTypeTag.IsTextNode">
  6418. <summary>
  6419. Text nodes should be added as child.
  6420. </summary>
  6421. </member>
  6422. <member name="T:HttpServer.HttpModules.HttpModuleExceptionEventArgs">
  6423. <summary>
  6424. Used to inform http server that
  6425. </summary>
  6426. </member>
  6427. <member name="M:HttpServer.HttpModules.HttpModuleExceptionEventArgs.#ctor(System.Exception)">
  6428. <summary>
  6429. Eventarguments used when an exception is thrown by a module
  6430. </summary>
  6431. <param name="e">the exception</param>
  6432. </member>
  6433. <member name="P:HttpServer.HttpModules.HttpModuleExceptionEventArgs.Exception">
  6434. <summary>
  6435. Exception thrown in a module
  6436. </summary>
  6437. </member>
  6438. <member name="T:HttpServer.Controllers.ViewController">
  6439. <summary>
  6440. View controllers integrates the templates, by adding
  6441. Render methods.
  6442. </summary>
  6443. </member>
  6444. <member name="M:HttpServer.Controllers.ViewController.#ctor(HttpServer.Rendering.TemplateManager)">
  6445. <summary>
  6446. Create a new <see cref="T:HttpServer.Controllers.ViewController"/>.
  6447. </summary>
  6448. </member>
  6449. <member name="M:HttpServer.Controllers.ViewController.#ctor(HttpServer.Controllers.ViewController)">
  6450. <summary>
  6451. Create a new <see cref="T:HttpServer.Controllers.ViewController"/>.
  6452. </summary>
  6453. <param name="controller">prototype to copy information from.</param>
  6454. </member>
  6455. <member name="M:HttpServer.Controllers.ViewController.Render(System.Object[])">
  6456. <summary>
  6457. Render template for the currently invoked method.
  6458. </summary>
  6459. <param name="args">arguments/parameters used in template</param>
  6460. <returns>template generated content</returns>
  6461. <remarks>calls RenderActionWithErrors</remarks>
  6462. </member>
  6463. <member name="M:HttpServer.Controllers.ViewController.RenderAction(System.String,System.Object[])">
  6464. <summary>
  6465. Render contents into a template.
  6466. </summary>
  6467. <param name="method">method/template to generate</param>
  6468. <param name="args">arguments/parameters used in template</param>
  6469. <returns>template generated content</returns>
  6470. <remarks>calls RenderActionWithErrors.</remarks>
  6471. </member>
  6472. <member name="M:HttpServer.Controllers.ViewController.MergeArguments(System.Object[])">
  6473. <summary>
  6474. Merge arguments array and Arguments property.
  6475. </summary>
  6476. <param name="args">Arguments array to merge</param>
  6477. <returns>arguments/parameters that can be used in the template.</returns>
  6478. <remarks>Will add Request/Response/Session arguments</remarks>
  6479. </member>
  6480. <member name="M:HttpServer.Controllers.ViewController.RenderErrors(System.String,System.Object[])">
  6481. <summary>
  6482. Renders errors from the <see cref="P:HttpServer.Controllers.ViewController.Errors"/> property into the
  6483. current method template, or as a JavaScript alert if the request is Ajax.
  6484. </summary>
  6485. <param name="method">name of the currently invoked method.</param>
  6486. <param name="arguments">arguments used in the method template.</param>
  6487. <returns>generated string</returns>
  6488. <remarks>Creates a JavaScript Alert box if request is Ajax.</remarks>
  6489. </member>
  6490. <member name="M:HttpServer.Controllers.ViewController.RenderErrors(System.Collections.Specialized.NameValueCollection,System.String,System.Object[])">
  6491. <summary>
  6492. Renders errors from the <see cref="P:HttpServer.Controllers.ViewController.Errors"/> property into the
  6493. current method template, or as a JavaScript alert if the request is Ajax.
  6494. </summary>
  6495. <param name="errors">A collection of errors.</param>
  6496. <param name="method">name of the currently invoked method.</param>
  6497. <param name="arguments">arguments used in the method template.</param>
  6498. <returns>generated string</returns>
  6499. <remarks>Creates a JavaScript Alert box if request is Ajax.</remarks>
  6500. </member>
  6501. <member name="M:HttpServer.Controllers.ViewController.RenderJavascript(System.String)">
  6502. <summary>
  6503. Switches content-type to "text/JavaScript" and returns content.
  6504. </summary>
  6505. <param name="js">JavaScript to send to the client.</param>
  6506. <returns>JavaScript</returns>
  6507. </member>
  6508. <member name="M:HttpServer.Controllers.ViewController.RenderJsErrors(System.Collections.Specialized.NameValueCollection)">
  6509. <summary>
  6510. Creates a JavaScript "alert" filled with all errors.
  6511. </summary>
  6512. <param name="errors"></param>
  6513. <returns>a</returns>
  6514. </member>
  6515. <member name="M:HttpServer.Controllers.ViewController.RenderLayout(System.String,System.String)">
  6516. <summary>
  6517. renders one of the layouts
  6518. </summary>
  6519. <param name="layoutName">layout to render (should be found in the "views\\layouts" folder).</param>
  6520. <param name="contents">contents will be put in the template variable called "text".</param>
  6521. <returns>generated text/HTML.</returns>
  6522. </member>
  6523. <member name="M:HttpServer.Controllers.ViewController.RenderTemplate(System.String,System.String,System.Object[])">
  6524. <summary>
  6525. Render a template.
  6526. </summary>
  6527. <remarks>Merges the Arguments property with the <c>args</c> parameter and pass those to the template.</remarks>
  6528. <param name="controller">controller name are used as a folder name when looking for the template.</param>
  6529. <param name="method">method are used as filename when looking for the template.</param>
  6530. <param name="args">arguments that should be passed to the template.</param>
  6531. <returns></returns>
  6532. </member>
  6533. <member name="M:HttpServer.Controllers.ViewController.SetupRequest(HttpServer.IHttpRequest,HttpServer.IHttpResponse,HttpServer.Sessions.IHttpSession)">
  6534. <summary>
  6535. Invoked each time a new request is about to be invoked.
  6536. </summary>
  6537. <remarks>Can be used to clear old data.</remarks>
  6538. <param name="request"></param>
  6539. <param name="response"></param>
  6540. <param name="session"></param>
  6541. </member>
  6542. <member name="P:HttpServer.Controllers.ViewController.Arguments">
  6543. <summary>
  6544. Arguments that are being used in the templates.
  6545. </summary>
  6546. </member>
  6547. <member name="P:HttpServer.Controllers.ViewController.Errors">
  6548. <summary>
  6549. A set of errors that occurred during request processing.
  6550. Key should be argument name (if argument error, otherwise <see cref="F:System.String.Empty"/>), value should be
  6551. the error message.
  6552. </summary>
  6553. <remarks>Errors can be rendered into templates using the <see cref="M:HttpServer.Helpers.WebHelper.Errors(System.Collections.Specialized.NameValueCollection)"/> method.</remarks>
  6554. <seealso cref="T:HttpServer.Helpers.WebHelper"/>
  6555. </member>
  6556. <member name="P:HttpServer.Controllers.ViewController.IncludeLayoutInAjaxRequests">
  6557. <summary>
  6558. True if we always should render contents inside page layouts when request is Ajax.
  6559. </summary>
  6560. <remarks>default is false.</remarks>
  6561. </member>
  6562. <member name="P:HttpServer.Controllers.ViewController.Layout">
  6563. <summary>
  6564. Which page layout to use (without file extension)
  6565. </summary>
  6566. <remarks>
  6567. <para>
  6568. Page layouts should be places in the Views\Layouts folder.
  6569. </para>
  6570. <para>
  6571. default is "Application"
  6572. </para>
  6573. </remarks>
  6574. </member>
  6575. <member name="P:HttpServer.Controllers.ViewController.Title">
  6576. <summary>
  6577. Page title (are added as a parameter to the layout template, use it in &lt;title&gt; HTML tag.
  6578. </summary>
  6579. </member>
  6580. <member name="T:HttpServer.Sessions.HttpSessionClearedArgs">
  6581. <summary>
  6582. Arguments sent when a <see cref="T:HttpServer.Sessions.IHttpSession"/> is cleared
  6583. </summary>
  6584. </member>
  6585. <member name="M:HttpServer.Sessions.HttpSessionClearedArgs.#ctor(System.Boolean)">
  6586. <summary>
  6587. Instantiates the arguments for the event
  6588. </summary>
  6589. <param name="expired">True if the session is cleared due to expiration</param>
  6590. </member>
  6591. <member name="P:HttpServer.Sessions.HttpSessionClearedArgs.Expired">
  6592. <summary>
  6593. Returns true if the session is cleared due to expiration
  6594. </summary>
  6595. </member>
  6596. <member name="T:HttpServer.Sessions.HttpSessionClearedHandler">
  6597. <summary>
  6598. Delegate for when a IHttpSession is cleared
  6599. </summary>
  6600. <param name="session"><see cref="T:HttpServer.Sessions.IHttpSession"/> this is being cleared.</param>
  6601. <param name="args">Arguments for the clearing</param>
  6602. </member>
  6603. <member name="M:HttpServer.Rendering.Haml.Nodes.IdNode.Parse(HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.LineInfo,System.Int32@)">
  6604. <summary>
  6605. Parse node contents add return a fresh node.
  6606. </summary>
  6607. <param name="prototypes">List containing all node types</param>
  6608. <param name="parent">Node that this is a subnode to. Can be null</param>
  6609. <param name="line">Line to parse</param>
  6610. <param name="offset">Where to start the parsing. Should be set to where the next node should start parsing.</param>
  6611. <returns>A node corresponding to the bla bla; null if parsing failed.</returns>
  6612. <exception cref="T:HttpServer.Rendering.CodeGeneratorException"></exception>
  6613. </member>
  6614. <member name="M:HttpServer.Rendering.Haml.Nodes.IdNode.CanHandle(System.String,System.Boolean)">
  6615. <summary>
  6616. determines if this node can handle the line (by checking the first word);
  6617. </summary>
  6618. <param name="word">Controller char (word)</param>
  6619. <returns>true if text belongs to this node type</returns>
  6620. <param name="firstNode">first node on line</param>
  6621. </member>
  6622. <member name="M:HttpServer.Rendering.Haml.Nodes.IdNode.ToHtml">
  6623. <summary>
  6624. Convert node to HTML (with ASP-tags)
  6625. </summary>
  6626. <returns>HTML string</returns>
  6627. </member>
  6628. <member name="M:HttpServer.Rendering.Haml.Nodes.IdNode.ToCode(System.Boolean@,System.Boolean,System.Boolean)">
  6629. <summary>
  6630. Convert the node to c# code
  6631. </summary>
  6632. <param name="inString">True if we are inside the internal stringbuilder</param>
  6633. <param name="smallEnough">true if all subnodes fit on one line</param>
  6634. <param name="smallEnoughIsDefaultValue">smallEnough is a default value, recalc it</param>
  6635. <returns>c# code</returns>
  6636. </member>
  6637. <member name="T:HttpServer.Rendering.Haml.NodeList">
  6638. <summary>
  6639. A list of prototype nodes.
  6640. </summary>
  6641. </member>
  6642. <member name="M:HttpServer.Rendering.Haml.NodeList.CreateNode(System.String,HttpServer.Rendering.Haml.Nodes.Node)">
  6643. <summary>
  6644. Creates the node.
  6645. </summary>
  6646. <param name="word">node identifier.</param>
  6647. <param name="parent">parent node.</param>
  6648. <returns>created node if identifier was found; otherwise null.</returns>
  6649. </member>
  6650. <member name="M:HttpServer.Rendering.Haml.NodeList.GetPrototype(System.String,System.Boolean)">
  6651. <summary>
  6652. </summary>
  6653. <param name="word"></param>
  6654. <param name="firstNode">first node on line</param>
  6655. <returns></returns>
  6656. </member>
  6657. <member name="M:HttpServer.Rendering.Haml.NodeList.Add(HttpServer.Rendering.Haml.Nodes.Node)">
  6658. <summary>
  6659. Add a prototype
  6660. </summary>
  6661. <param name="node">prototype node</param>
  6662. </member>
  6663. <member name="T:HttpServer.HttpModules.FileModule">
  6664. <summary>
  6665. The purpose of this module is to serve files.
  6666. </summary>
  6667. </member>
  6668. <member name="M:HttpServer.HttpModules.FileModule.#ctor(System.String,System.String,System.Boolean)">
  6669. <summary>
  6670. Initializes a new instance of the <see cref="T:HttpServer.HttpModules.FileModule"/> class.
  6671. </summary>
  6672. <param name="baseUri">Uri to serve, for instance "/files/"</param>
  6673. <param name="basePath">Path on hard drive where we should start looking for files</param>
  6674. <param name="useLastModifiedHeader">If true a Last-Modifed header will be sent upon requests urging webbrowser to cache files</param>
  6675. </member>
  6676. <member name="M:HttpServer.HttpModules.FileModule.#ctor(System.String,System.String)">
  6677. <summary>
  6678. Initializes a new instance of the <see cref="T:HttpServer.HttpModules.FileModule"/> class.
  6679. </summary>
  6680. <param name="baseUri">Uri to serve, for instance "/files/"</param>
  6681. <param name="basePath">Path on hard drive where we should start looking for files</param>
  6682. </member>
  6683. <member name="M:HttpServer.HttpModules.FileModule.AddDefaultMimeTypes">
  6684. <summary>
  6685. Mimtypes that this class can handle per default
  6686. </summary>
  6687. </member>
  6688. <member name="M:HttpServer.HttpModules.FileModule.CanHandle(System.Uri)">
  6689. <summary>
  6690. Determines if the request should be handled by this module.
  6691. Invoked by the HttpServer
  6692. </summary>
  6693. <param name="uri"></param>
  6694. <returns>true if this module should handle it.</returns>
  6695. </member>
  6696. <member name="M:HttpServer.HttpModules.FileModule.Contains(System.String,System.Collections.Generic.IEnumerable{System.String})">
  6697. <summary>
  6698. check if source contains any of the chars.
  6699. </summary>
  6700. <param name="source"></param>
  6701. <param name="chars"></param>
  6702. <returns></returns>
  6703. </member>
  6704. <member name="M:HttpServer.HttpModules.FileModule.Process(HttpServer.IHttpRequest,HttpServer.IHttpResponse,HttpServer.Sessions.IHttpSession)">
  6705. <summary>
  6706. Method that process the url
  6707. </summary>
  6708. <param name="request">Information sent by the browser about the request</param>
  6709. <param name="response">Information that is being sent back to the client.</param>
  6710. <param name="session">Session used to </param>
  6711. </member>
  6712. <member name="M:HttpServer.HttpModules.FileModule.GetFileExtension(System.String)">
  6713. <summary>
  6714. return a file extension from an absolute uri path (or plain filename)
  6715. </summary>
  6716. <param name="uri"></param>
  6717. <returns></returns>
  6718. </member>
  6719. <member name="P:HttpServer.HttpModules.FileModule.MimeTypes">
  6720. <summary>
  6721. List with all mime-type that are allowed.
  6722. </summary>
  6723. <remarks>All other mime types will result in a Forbidden http status code.</remarks>
  6724. </member>
  6725. <member name="P:HttpServer.HttpModules.FileModule.ForbiddenChars">
  6726. <summary>
  6727. characters that may not exist in a path.
  6728. </summary>
  6729. <example>
  6730. fileMod.ForbiddenChars = new string[]{ "\\", "..", ":" };
  6731. </example>
  6732. </member>
  6733. <member name="T:HttpServer.HttpHelper">
  6734. <summary>
  6735. Generic helper functions for Http
  6736. </summary>
  6737. </member>
  6738. <member name="F:HttpServer.HttpHelper.HTTP10">
  6739. <summary>
  6740. Version string for HTTP v1.0
  6741. </summary>
  6742. </member>
  6743. <member name="F:HttpServer.HttpHelper.HTTP11">
  6744. <summary>
  6745. Version string for HTTP v1.1
  6746. </summary>
  6747. </member>
  6748. <member name="F:HttpServer.HttpHelper.EmptyUri">
  6749. <summary>
  6750. An empty url
  6751. </summary>
  6752. </member>
  6753. <member name="M:HttpServer.HttpHelper.ParseQueryString(System.String)">
  6754. <summary>
  6755. Parses a querystring.
  6756. </summary>
  6757. <param name="queryString">Querystring (url decoded)</param>
  6758. <returns>A HttpInput object if successful; otherwise HttpInput.Empty</returns>
  6759. </member>
  6760. <member name="T:HttpServer.Exceptions.ForbiddenException">
  6761. <summary>
  6762. The server understood the request, but is refusing to fulfill it.
  6763. Authorization will not help and the request SHOULD NOT be repeated.
  6764. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled,
  6765. it SHOULD describe the reason for the refusal in the entity. If the server does not wish to make this information
  6766. available to the client, the status code 404 (Not Found) can be used instead.
  6767. Text taken from: http://www.submissionchamber.com/help-guides/error-codes.php
  6768. </summary>
  6769. </member>
  6770. <member name="M:HttpServer.Exceptions.ForbiddenException.#ctor(System.String)">
  6771. <summary>
  6772. Initializes a new instance of the <see cref="T:HttpServer.Exceptions.ForbiddenException"/> class.
  6773. </summary>
  6774. <param name="errorMsg">error message</param>
  6775. </member>
  6776. <member name="T:HttpServer.Authentication.AuthenticationHandler">
  6777. <summary>
  6778. Delegate used to let authentication modules authenticate the username and password.
  6779. </summary>
  6780. <param name="realm">Realm that the user want to authenticate in</param>
  6781. <param name="userName">Username specified by client</param>
  6782. <param name="password">Password supplied by the delagete</param>
  6783. <param name="login">object that will be stored in a session variable called <see cref="F:HttpServer.Authentication.AuthModule.AuthenticationTag"/> if authentication was successful.</param>
  6784. <exception cref="T:HttpServer.Exceptions.ForbiddenException">throw forbidden exception if too many attempts have been made.</exception>
  6785. </member>
  6786. <member name="T:HttpServer.Authentication.AuthRequiredDelegate">
  6787. <summary>
  6788. Let's you decide on a system level if authentication is requried.
  6789. You can also decide if authentication is required in each HttpModule.
  6790. </summary>
  6791. <param name="request">Http request from client</param>
  6792. <returns>true if user should be authenticated.</returns>
  6793. <remarks>throw ForbiddenException if no more attempts are allowed.</remarks>
  6794. <exception cref="T:HttpServer.Exceptions.ForbiddenException">If no more attempts are allowed</exception>
  6795. </member>
  6796. <member name="T:HttpServer.Rendering.Haml.Nodes.ClassNode">
  6797. <summary>
  6798. Represents a html class node.
  6799. </summary>
  6800. </member>
  6801. <member name="M:HttpServer.Rendering.Haml.Nodes.ClassNode.Parse(HttpServer.Rendering.Haml.NodeList,HttpServer.Rendering.Haml.Nodes.Node,HttpServer.Rendering.Haml.LineInfo,System.Int32@)">
  6802. <summary>
  6803. Parse node contents add return a fresh node.
  6804. </summary>
  6805. <param name="prototypes">List containing all node types</param>
  6806. <param name="parent">Node that this is a subnode to. Can be null</param>
  6807. <param name="line">Line to parse</param>
  6808. <param name="offset">Where to start the parsing. Should be set to where the next node should start parsing.</param>
  6809. <returns>A node corresponding to the bla bla; null if parsing failed.</returns>
  6810. <exception cref="T:HttpServer.Rendering.CodeGeneratorException"></exception>
  6811. </member>
  6812. <member name="M:HttpServer.Rendering.Haml.Nodes.ClassNode.CanHandle(System.String,System.Boolean)">
  6813. <summary>
  6814. determines if this node can handle the line (by checking the first word);
  6815. </summary>
  6816. <param name="word">Controller char (word)</param>
  6817. <returns>true if text belongs to this node type</returns>
  6818. <param name="firstNode">first node on line</param>
  6819. </member>
  6820. <member name="M:HttpServer.Rendering.Haml.Nodes.ClassNode.ToHtml">
  6821. <summary>
  6822. Convert node to HTML (with ASP-tags)
  6823. </summary>
  6824. <returns>HTML string</returns>
  6825. </member>
  6826. <member name="M:HttpServer.Rendering.Haml.Nodes.ClassNode.ToCode(System.Boolean@,System.Boolean,System.Boolean)">
  6827. <summary>
  6828. Convert the node to c# code
  6829. </summary>
  6830. <param name="inString">True if we are inside the internal stringbuilder</param>
  6831. <param name="smallEnough">true if all subnodes fit on one line</param>
  6832. <param name="smallEnoughIsDefaultValue">smallEnough is a default value, recalc it</param>
  6833. <returns>c# code</returns>
  6834. </member>
  6835. <member name="T:HttpServer.FormDecoders.MultipartDecoder">
  6836. <summary>
  6837. </summary>
  6838. <remarks>
  6839. http://www.faqs.org/rfcs/rfc1867.html
  6840. </remarks>
  6841. </member>
  6842. <member name="F:HttpServer.FormDecoders.MultipartDecoder.MimeType">
  6843. <summary>
  6844. multipart/form-data
  6845. </summary>
  6846. </member>
  6847. <member name="F:HttpServer.FormDecoders.MultipartDecoder.FormData">
  6848. <summary>
  6849. form-data
  6850. </summary>
  6851. </member>
  6852. <member name="M:HttpServer.FormDecoders.MultipartDecoder.Decode(System.IO.Stream,System.String,System.Text.Encoding)">
  6853. <summary>
  6854. </summary>
  6855. <param name="stream">Stream containing the content</param>
  6856. <param name="contentType">Content type (with any additional info like boundry). Content type is always supplied in lower case</param>
  6857. <param name="encoding">Stream enconding</param>
  6858. <returns>A http form, or null if content could not be parsed.</returns>
  6859. <exception cref="T:System.IO.InvalidDataException">If contents in the stream is not valid input data.</exception>
  6860. <exception cref="T:System.ArgumentNullException">If any parameter is null</exception>
  6861. </member>
  6862. <member name="M:HttpServer.FormDecoders.MultipartDecoder.CanParse(System.String)">
  6863. <summary>
  6864. Checks if the decoder can handle the mime type
  6865. </summary>
  6866. <param name="contentType">Content type (with any additional info like boundry). Content type is always supplied in lower case.</param>
  6867. <returns>True if the decoder can parse the specified content type</returns>
  6868. </member>
  6869. <member name="M:HttpServer.FormDecoders.HttpMultipart.ReadLine">
  6870. <summary>
  6871. </summary>
  6872. <returns></returns>
  6873. <exception cref="T:System.ArgumentOutOfRangeException"></exception>
  6874. <exception cref="T:System.ObjectDisposedException"></exception>
  6875. </member>
  6876. <member name="T:HttpServer.FormDecoders.HttpMultipart.Element">
  6877. <summary>Represents a field in a multipart form</summary>
  6878. </member>
  6879. <member name="T:HttpServer.ContentType">
  6880. <summary>
  6881. Lists content type mime types.
  6882. </summary>
  6883. </member>
  6884. <member name="F:HttpServer.ContentType.Text">
  6885. <summary>
  6886. text/plain
  6887. </summary>
  6888. </member>
  6889. <member name="F:HttpServer.ContentType.Html">
  6890. <summary>
  6891. text/haml
  6892. </summary>
  6893. </member>
  6894. <member name="F:HttpServer.ContentType.Javascript">
  6895. <summary>
  6896. content type for javascript documents = application/javascript
  6897. </summary>
  6898. <remarks>
  6899. <para>
  6900. RFC 4329 states that text/javascript have been superseeded by
  6901. application/javascript. You might still want to check browser versions
  6902. since older ones do not support application/javascript.
  6903. </para>
  6904. <para>Browser support: http://krijnhoetmer.nl/stuff/javascript/mime-types/</para>
  6905. </remarks>
  6906. </member>
  6907. <member name="F:HttpServer.ContentType.Xml">
  6908. <summary>
  6909. text/xml
  6910. </summary>
  6911. </member>
  6912. <member name="T:HttpServer.ContentTypes">
  6913. <summary>
  6914. A list of content types
  6915. </summary>
  6916. </member>
  6917. <member name="M:HttpServer.ContentTypes.#ctor(System.String)">
  6918. <summary>
  6919. </summary>
  6920. <param name="types">Semicolon separated content types.</param>
  6921. </member>
  6922. <member name="M:HttpServer.ContentTypes.GetEnumerator">
  6923. <summary>
  6924. Returns an enumerator that iterates through a collection.
  6925. </summary>
  6926. <returns>
  6927. An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
  6928. </returns>
  6929. </member>
  6930. <member name="M:HttpServer.ContentTypes.Contains(System.String)">
  6931. <summary>
  6932. Searches for the specified type
  6933. </summary>
  6934. <param name="type">Can also be a part of a type (searching for "xml" would return true for "application/xml").</param>
  6935. <returns>true if type was found.</returns>
  6936. </member>
  6937. <member name="P:HttpServer.ContentTypes.First">
  6938. <summary>
  6939. Get this first content type.
  6940. </summary>
  6941. </member>
  6942. <member name="P:HttpServer.ContentTypes.Item(System.String)">
  6943. <summary>
  6944. Fetch a content type
  6945. </summary>
  6946. <param name="type">Part of type ("xml" would return "application/xml")</param>
  6947. <returns></returns>
  6948. <remarks>All content types are in lower case.</remarks>
  6949. </member>
  6950. </members>
  6951. </doc>